public class EndpointContainerShutdown extends java.lang.Object implements ContainerShutdown
ContainerShutdown implementation which uses boot shutdown
rest endpoint to notify context close.| Constructor and Description |
|---|
EndpointContainerShutdown() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shutdown(java.util.Map<org.apache.hadoop.yarn.api.records.Container,ContainerRegisterInfo> containers)
Shutdown containers.
|
public boolean shutdown(java.util.Map<org.apache.hadoop.yarn.api.records.Container,ContainerRegisterInfo> containers)
ContainerShutdownshutdown in interface ContainerShutdowncontainers - the containers