public interface ContainerAllocatorListener
Modifier and Type | Method and Description |
---|---|
void |
allocated(java.util.List<org.apache.hadoop.yarn.api.records.Container> allocatedContainers)
Invoked when new containers are allocated.
|
void |
completed(java.util.List<org.apache.hadoop.yarn.api.records.ContainerStatus> completedContainers)
Invoked when containers are releases and thus
marked as completed.
|
void allocated(java.util.List<org.apache.hadoop.yarn.api.records.Container> allocatedContainers)
allocatedContainers
- list of allocated Container
svoid completed(java.util.List<org.apache.hadoop.yarn.api.records.ContainerStatus> completedContainers)
completedContainers
- list of completed ContainerStatus
s