public class ContainerFinishedEvent extends SystemMetricsEvent
| Constructor and Description |
|---|
ContainerFinishedEvent(org.apache.hadoop.yarn.api.records.ContainerId containerId,
String diagnosticsInfo,
int containerExitStatus,
org.apache.hadoop.yarn.api.records.ContainerState state,
long finishedTime,
org.apache.hadoop.yarn.api.records.NodeId allocatedNode) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.yarn.api.records.NodeId |
getAllocatedNode() |
int |
getContainerExitStatus() |
org.apache.hadoop.yarn.api.records.ContainerId |
getContainerId() |
org.apache.hadoop.yarn.api.records.ContainerState |
getContainerState() |
String |
getDiagnosticsInfo() |
int |
hashCode() |
public ContainerFinishedEvent(org.apache.hadoop.yarn.api.records.ContainerId containerId,
String diagnosticsInfo,
int containerExitStatus,
org.apache.hadoop.yarn.api.records.ContainerState state,
long finishedTime,
org.apache.hadoop.yarn.api.records.NodeId allocatedNode)
public org.apache.hadoop.yarn.api.records.ContainerId getContainerId()
public String getDiagnosticsInfo()
public int getContainerExitStatus()
public org.apache.hadoop.yarn.api.records.ContainerState getContainerState()
public org.apache.hadoop.yarn.api.records.NodeId getAllocatedNode()
Copyright © 2017 Apache Software Foundation. All Rights Reserved.