YARN-5996. Native services AM kills app on AMRMClientAsync onError call. Contributed by Billie Rinaldi

This commit is contained in:
Gour Saha 2016-12-16 12:09:29 -08:00 committed by Jian He
parent 2e1fa61253
commit c11f4b3c21

View File

@ -1937,12 +1937,7 @@ public float getProgress() {
@Override //AMRMClientAsync
public void onError(Throwable e) {
//callback says it's time to finish
LOG_YARN.error("AMRMClientAsync.onError() received {}", e, e);
signalAMComplete(new ActionStopSlider("stop",
EXIT_EXCEPTION_THROWN,
FinalApplicationStatus.FAILED,
"AMRMClientAsync.onError() received " + e));
LOG_YARN.info("Ignoring AMRMClientAsync.onError() received {}", e);
}
/* =================================================================== */