// the app exists, but it may be in a terminated state
SliderUtils.OnDemandReportStringifier report =
new SliderUtils.OnDemandReportStringifier(instance);
YarnApplicationState state =
instance.getYarnApplicationState();
if (state.ordinal() >= YarnApplicationState.FINISHED.ordinal()) {
//cluster in the list of apps but not running
log.info("Cluster {} found but is in state {}", name, state);
log.debug("State {}", report);
return EXIT_FALSE;
}