public class ContainerAllocationEvent extends AbstractYarnEvent
Container has been allocated.| Constructor and Description |
|---|
ContainerAllocationEvent(java.lang.Object source,
org.apache.hadoop.yarn.api.records.Container container)
Constructs event with the given
Container. |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.yarn.api.records.Container |
getContainer()
Gets the container.
|
java.lang.String |
toString() |