@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class ContainerUpdateResponse extends Object
The response sent by the NodeManager
to the
ApplicationMaster
when asked to update container resource.
Constructor and Description |
---|
ContainerUpdateResponse() |
Modifier and Type | Method and Description |
---|---|
abstract Map<ContainerId,org.apache.hadoop.yarn.api.records.SerializedException> |
getFailedRequests()
Get the containerId-to-exception map in which the exception indicates
error from each container for failed requests.
|
abstract List<ContainerId> |
getSuccessfullyUpdatedContainers()
Get the list of containerIds of containers whose resource
have been successfully update.
|
static ContainerUpdateResponse |
newInstance(List<ContainerId> successfullyUpdatedContainers,
Map<ContainerId,org.apache.hadoop.yarn.api.records.SerializedException> failedRequests) |
public static ContainerUpdateResponse newInstance(List<ContainerId> successfullyUpdatedContainers, Map<ContainerId,org.apache.hadoop.yarn.api.records.SerializedException> failedRequests)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract List<ContainerId> getSuccessfullyUpdatedContainers()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract Map<ContainerId,org.apache.hadoop.yarn.api.records.SerializedException> getFailedRequests()
Copyright © 2023 Apache Software Foundation. All rights reserved.