org.apache.hadoop.yarn.server.applicationhistoryservice.records
Class ContainerHistoryData
java.lang.Object
org.apache.hadoop.yarn.server.applicationhistoryservice.records.ContainerHistoryData
@InterfaceAudience.Public
@InterfaceStability.Unstable
public class ContainerHistoryData
- extends Object
The class contains all the fields that are stored persistently for
RMContainer.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContainerHistoryData
public ContainerHistoryData()
newInstance
@InterfaceAudience.Public
@InterfaceStability.Unstable
public static ContainerHistoryData newInstance(org.apache.hadoop.yarn.api.records.ContainerId containerId,
org.apache.hadoop.yarn.api.records.Resource allocatedResource,
org.apache.hadoop.yarn.api.records.NodeId assignedNode,
org.apache.hadoop.yarn.api.records.Priority priority,
long startTime,
long finishTime,
String diagnosticsInfo,
int containerExitCode,
org.apache.hadoop.yarn.api.records.ContainerState containerState)
getContainerId
@InterfaceAudience.Public
@InterfaceStability.Unstable
public org.apache.hadoop.yarn.api.records.ContainerId getContainerId()
setContainerId
@InterfaceAudience.Public
@InterfaceStability.Unstable
public void setContainerId(org.apache.hadoop.yarn.api.records.ContainerId containerId)
getAllocatedResource
@InterfaceAudience.Public
@InterfaceStability.Unstable
public org.apache.hadoop.yarn.api.records.Resource getAllocatedResource()
setAllocatedResource
@InterfaceAudience.Public
@InterfaceStability.Unstable
public void setAllocatedResource(org.apache.hadoop.yarn.api.records.Resource resource)
getAssignedNode
@InterfaceAudience.Public
@InterfaceStability.Unstable
public org.apache.hadoop.yarn.api.records.NodeId getAssignedNode()
setAssignedNode
@InterfaceAudience.Public
@InterfaceStability.Unstable
public void setAssignedNode(org.apache.hadoop.yarn.api.records.NodeId nodeId)
getPriority
@InterfaceAudience.Public
@InterfaceStability.Unstable
public org.apache.hadoop.yarn.api.records.Priority getPriority()
setPriority
@InterfaceAudience.Public
@InterfaceStability.Unstable
public void setPriority(org.apache.hadoop.yarn.api.records.Priority priority)
getStartTime
@InterfaceAudience.Public
@InterfaceStability.Unstable
public long getStartTime()
setStartTime
@InterfaceAudience.Public
@InterfaceStability.Unstable
public void setStartTime(long startTime)
getFinishTime
@InterfaceAudience.Public
@InterfaceStability.Unstable
public long getFinishTime()
setFinishTime
@InterfaceAudience.Public
@InterfaceStability.Unstable
public void setFinishTime(long finishTime)
getDiagnosticsInfo
@InterfaceAudience.Public
@InterfaceStability.Unstable
public String getDiagnosticsInfo()
setDiagnosticsInfo
@InterfaceAudience.Public
@InterfaceStability.Unstable
public void setDiagnosticsInfo(String diagnosticsInfo)
getContainerExitStatus
@InterfaceAudience.Public
@InterfaceStability.Unstable
public int getContainerExitStatus()
setContainerExitStatus
@InterfaceAudience.Public
@InterfaceStability.Unstable
public void setContainerExitStatus(int containerExitStatus)
getContainerState
@InterfaceAudience.Public
@InterfaceStability.Unstable
public org.apache.hadoop.yarn.api.records.ContainerState getContainerState()
setContainerState
@InterfaceAudience.Public
@InterfaceStability.Unstable
public void setContainerState(org.apache.hadoop.yarn.api.records.ContainerState containerState)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.