Example usage for Java org.apache.hadoop.yarn.api.records Container fields, constructors, methods, implement or subclass
The text is from its open source code.
Token | getContainerToken() Get the ContainerToken for the container. |
ContainerId | getId() Get the globally unique identifier for the container. |
String | getNodeHttpAddress() Get the http uri of the node on which the container is allocated. |
NodeId | getNodeId() Get the identifier of the node on which the container is allocated. |
Priority | getPriority() Get the Priority at which the Container was allocated. |
Resource | getResource() Get the Resource allocated to the container. |
int | getVersion() Get the version of this container. |
Container | newInstance(ContainerId containerId, NodeId nodeId, String nodeHttpAddress, Resource resource, Priority priority, Token containerToken) |
void | setId(ContainerId id) |
void | setNodeHttpAddress(String nodeHttpAddress) |
void | setNodeId(NodeId nodeId) |