org.apache.hadoop.yarn.server.resourcemanager.rmcontainer
Interface RMContainer
- All Superinterfaces:
- org.apache.hadoop.yarn.event.EventHandler<RMContainerEvent>
- All Known Implementing Classes:
- RMContainerImpl
public interface RMContainer
- extends org.apache.hadoop.yarn.event.EventHandler<RMContainerEvent>
Represents the ResourceManager's view of an application container. See
RMContainerImpl
for an implementation. Containers may be in one
of several states, given in RMContainerState
. An RMContainer
instance may exist even if there is no actual running container, such as
when resources are being reserved to fill space for a future container
allocation.
Methods inherited from interface org.apache.hadoop.yarn.event.EventHandler |
handle |
getContainerId
org.apache.hadoop.yarn.api.records.ContainerId getContainerId()
getApplicationAttemptId
org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId()
getState
RMContainerState getState()
getContainer
org.apache.hadoop.yarn.api.records.Container getContainer()
getReservedResource
org.apache.hadoop.yarn.api.records.Resource getReservedResource()
getReservedNode
org.apache.hadoop.yarn.api.records.NodeId getReservedNode()
getReservedPriority
org.apache.hadoop.yarn.api.records.Priority getReservedPriority()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.