Class CMgrUpdateContainersEvent
java.lang.Object
org.apache.hadoop.yarn.event.AbstractEvent<ContainerManagerEventType>
org.apache.hadoop.yarn.server.nodemanager.ContainerManagerEvent
org.apache.hadoop.yarn.server.nodemanager.CMgrUpdateContainersEvent
- All Implemented Interfaces:
org.apache.hadoop.yarn.event.Event<ContainerManagerEventType>
Event used by the NodeStatusUpdater to notify the ContainerManager of
container update commands it received from the RM.
-
Constructor Summary
ConstructorsConstructorDescriptionCMgrUpdateContainersEvent(List<org.apache.hadoop.yarn.api.records.Container> containersToUpdate) Create event. -
Method Summary
Modifier and TypeMethodDescriptionList<org.apache.hadoop.yarn.api.records.Container>Get containers to update.Methods inherited from class org.apache.hadoop.yarn.event.AbstractEvent
getTimestamp, getType, toString
-
Constructor Details
-
CMgrUpdateContainersEvent
public CMgrUpdateContainersEvent(List<org.apache.hadoop.yarn.api.records.Container> containersToUpdate) Create event.- Parameters:
containersToUpdate- Container to update.
-
-
Method Details
-
getContainersToUpdate
Get containers to update.- Returns:
- List of containers to update.
-