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) |
Modifier and Type | Method and Description |
---|---|
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)
public org.apache.hadoop.yarn.api.records.ContainerId getContainerId()
public String getDiagnosticsInfo()
public int getContainerExitStatus()
public org.apache.hadoop.yarn.api.records.ContainerState getContainerState()
Copyright © 2017 Apache Software Foundation. All Rights Reserved.