List of usage examples for org.apache.hadoop.yarn.api.records ContainerState NEW
ContainerState NEW
To view the source code for org.apache.hadoop.yarn.api.records ContainerState NEW.
Click Source Link
From source file:org.apache.myriad.scheduler.fgs.NMHeartBeatHandler.java
License:Apache License
private boolean containerInUse(ContainerStatus status) { return (status.getState() == ContainerState.NEW || status.getState() == ContainerState.RUNNING); }