@InterfaceAudience.Public @InterfaceStability.Stable public abstract class StartContainersResponse extends Object
The response sent by the NodeManager
to the
ApplicationMaster
when asked to start an allocated
container.
Constructor and Description |
---|
StartContainersResponse() |
Modifier and Type | Method and Description |
---|---|
abstract Map<String,ByteBuffer> |
getAllServicesMetaData()
Get the meta-data from all auxiliary services running on the
NodeManager . |
abstract Map<ContainerId,org.apache.hadoop.yarn.api.records.SerializedException> |
getFailedRequests()
Get the containerId-to-exception map in which the exception indicates error
from per container for failed requests
|
abstract List<ContainerId> |
getSuccessfullyStartedContainers()
Get the list of
ContainerId s of the containers that are
started successfully. |
@InterfaceAudience.Public @InterfaceStability.Stable public abstract List<ContainerId> getSuccessfullyStartedContainers()
ContainerId
s of the containers that are
started successfully.ContainerId
s of the containers that are
started successfully.ContainerManagementProtocol.startContainers(StartContainersRequest)
@InterfaceAudience.Public @InterfaceStability.Stable public abstract Map<ContainerId,org.apache.hadoop.yarn.api.records.SerializedException> getFailedRequests()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract Map<String,ByteBuffer> getAllServicesMetaData()
Get the meta-data from all auxiliary services running on the
NodeManager
.
The meta-data is returned as a Map between the auxiliary service names and
their corresponding per service meta-data as an opaque blob
ByteBuffer
To be able to interpret the per-service meta-data, you should consult the documentation for the Auxiliary-service configured on the NodeManager
Copyright © 2024 Apache Software Foundation. All rights reserved.