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.


Method Summary
 org.apache.hadoop.yarn.api.records.ContainerReport createContainerReport()
           
 org.apache.hadoop.yarn.api.records.NodeId getAllocatedNode()
           
 org.apache.hadoop.yarn.api.records.Priority getAllocatedPriority()
           
 org.apache.hadoop.yarn.api.records.Resource getAllocatedResource()
           
 org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId()
           
 org.apache.hadoop.yarn.api.records.Container getContainer()
           
 int getContainerExitStatus()
           
 org.apache.hadoop.yarn.api.records.ContainerId getContainerId()
           
 org.apache.hadoop.yarn.api.records.ContainerState getContainerState()
           
 long getCreationTime()
           
 String getDiagnosticsInfo()
           
 long getFinishTime()
           
 String getLogURL()
           
 org.apache.hadoop.yarn.api.records.NodeId getReservedNode()
           
 org.apache.hadoop.yarn.api.records.Priority getReservedPriority()
           
 org.apache.hadoop.yarn.api.records.Resource getReservedResource()
           
 List<org.apache.hadoop.yarn.api.records.ResourceRequest> getResourceRequests()
           
 RMContainerState getState()
           
 boolean isAMContainer()
           
 
Methods inherited from interface org.apache.hadoop.yarn.event.EventHandler
handle
 

Method Detail

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()

getAllocatedResource

org.apache.hadoop.yarn.api.records.Resource getAllocatedResource()

getAllocatedNode

org.apache.hadoop.yarn.api.records.NodeId getAllocatedNode()

getAllocatedPriority

org.apache.hadoop.yarn.api.records.Priority getAllocatedPriority()

getCreationTime

long getCreationTime()

getFinishTime

long getFinishTime()

getDiagnosticsInfo

String getDiagnosticsInfo()

getLogURL

String getLogURL()

getContainerExitStatus

int getContainerExitStatus()

getContainerState

org.apache.hadoop.yarn.api.records.ContainerState getContainerState()

createContainerReport

org.apache.hadoop.yarn.api.records.ContainerReport createContainerReport()

isAMContainer

boolean isAMContainer()

getResourceRequests

List<org.apache.hadoop.yarn.api.records.ResourceRequest> getResourceRequests()


Copyright © 2014 Apache Software Foundation. All Rights Reserved.