public class ContainerCompletedEvent extends AbstractYarnEvent
Container has been completed.| Constructor and Description |
|---|
ContainerCompletedEvent(java.lang.Object source,
org.apache.hadoop.yarn.api.records.ContainerStatus containerStatus)
Constructs event with the given
ContainerStatus. |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.yarn.api.records.ContainerStatus |
getContainerStatus()
Gets the container status.
|
java.lang.String |
toString() |
public ContainerCompletedEvent(java.lang.Object source,
org.apache.hadoop.yarn.api.records.ContainerStatus containerStatus)
ContainerStatus.source - the component that published the event (never null)containerStatus - the container status