public class NMContainerStatusPBImpl extends NMContainerStatus
| Constructor and Description |
|---|
NMContainerStatusPBImpl() |
NMContainerStatusPBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.NMContainerStatusProto proto) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
org.apache.hadoop.yarn.api.records.Resource |
getAllocatedResource()
Get the allocated
Resource of the container. |
int |
getContainerExitStatus()
Get the final
exit status of the container. |
org.apache.hadoop.yarn.api.records.ContainerId |
getContainerId()
Get the
ContainerId of the container. |
org.apache.hadoop.yarn.api.records.ContainerState |
getContainerState() |
long |
getCreationTime()
Get the time when the container is created
|
String |
getDiagnostics()
Get the DiagnosticsInfo of the container.
|
org.apache.hadoop.yarn.api.records.ExecutionType |
getExecutionType()
Get the
ExecutionType of the container. |
String |
getNodeLabelExpression()
Get the node-label-expression in the original ResourceRequest
|
org.apache.hadoop.yarn.api.records.Priority |
getPriority()
Get the
Priority of the request. |
org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.NMContainerStatusProto |
getProto() |
int |
getVersion() |
int |
hashCode() |
void |
setAllocatedResource(org.apache.hadoop.yarn.api.records.Resource resource) |
void |
setContainerExitStatus(int containerExitStatus) |
void |
setContainerId(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
void |
setContainerState(org.apache.hadoop.yarn.api.records.ContainerState containerState) |
void |
setCreationTime(long creationTime) |
void |
setDiagnostics(String diagnosticsInfo) |
void |
setExecutionType(org.apache.hadoop.yarn.api.records.ExecutionType executionType) |
void |
setNodeLabelExpression(String nodeLabelExpression) |
void |
setPriority(org.apache.hadoop.yarn.api.records.Priority priority) |
void |
setVersion(int version) |
String |
toString() |
newInstance, newInstancepublic NMContainerStatusPBImpl()
public NMContainerStatusPBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.NMContainerStatusProto proto)
public org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.NMContainerStatusProto getProto()
public org.apache.hadoop.yarn.api.records.Resource getAllocatedResource()
NMContainerStatusResource of the container.getAllocatedResource in class NMContainerStatusResource of the container.public org.apache.hadoop.yarn.api.records.ContainerId getContainerId()
NMContainerStatusContainerId of the container.getContainerId in class NMContainerStatusContainerId of the container.public String getDiagnostics()
NMContainerStatusgetDiagnostics in class NMContainerStatuspublic org.apache.hadoop.yarn.api.records.ContainerState getContainerState()
getContainerState in class NMContainerStatuspublic void setAllocatedResource(org.apache.hadoop.yarn.api.records.Resource resource)
setAllocatedResource in class NMContainerStatuspublic void setContainerId(org.apache.hadoop.yarn.api.records.ContainerId containerId)
setContainerId in class NMContainerStatuspublic void setDiagnostics(String diagnosticsInfo)
setDiagnostics in class NMContainerStatuspublic void setContainerState(org.apache.hadoop.yarn.api.records.ContainerState containerState)
setContainerState in class NMContainerStatuspublic int getContainerExitStatus()
NMContainerStatusexit status of the container.getContainerExitStatus in class NMContainerStatusexit status of the container.public void setContainerExitStatus(int containerExitStatus)
setContainerExitStatus in class NMContainerStatuspublic int getVersion()
getVersion in class NMContainerStatuspublic void setVersion(int version)
setVersion in class NMContainerStatuspublic org.apache.hadoop.yarn.api.records.Priority getPriority()
NMContainerStatusPriority of the request.getPriority in class NMContainerStatusPriority of the requestpublic void setPriority(org.apache.hadoop.yarn.api.records.Priority priority)
setPriority in class NMContainerStatuspublic long getCreationTime()
NMContainerStatusgetCreationTime in class NMContainerStatuspublic void setCreationTime(long creationTime)
setCreationTime in class NMContainerStatuspublic String getNodeLabelExpression()
NMContainerStatusgetNodeLabelExpression in class NMContainerStatuspublic void setNodeLabelExpression(String nodeLabelExpression)
setNodeLabelExpression in class NMContainerStatuspublic org.apache.hadoop.yarn.api.records.ExecutionType getExecutionType()
NMContainerStatusExecutionType of the container.getExecutionType in class NMContainerStatusExecutionType of the containerpublic void setExecutionType(org.apache.hadoop.yarn.api.records.ExecutionType executionType)
setExecutionType in class NMContainerStatusCopyright © 2022 Apache Software Foundation. All rights reserved.