List of usage examples for org.apache.hadoop.yarn.server.resourcemanager.rmcontainer RMContainerEventType RELEASED
RMContainerEventType RELEASED
To view the source code for org.apache.hadoop.yarn.server.resourcemanager.rmcontainer RMContainerEventType RELEASED.
Click Source Link
From source file:org.apache.myriad.scheduler.fgs.YarnNodeCapacityManager.java
License:Apache License
@Override public void beforeCompletedContainer(RMContainer rmContainer, ContainerStatus containerStatus, RMContainerEventType type) {//from w w w. jav a 2 s . com if (type.equals(RMContainerEventType.KILL) || type.equals(RMContainerEventType.RELEASED)) { LOGGER.info("{} completed with exit status {}, killing cooresponding mesos task.", rmContainer.getContainerId().toString(), type); removeYarnTask(rmContainer); } }