YARN-5996. Native services AM kills app on AMRMClientAsync onError call. Contributed by Billie Rinaldi
This commit is contained in:
parent
2e1fa61253
commit
c11f4b3c21
@ -1937,12 +1937,7 @@ public float getProgress() {
|
|||||||
|
|
||||||
@Override //AMRMClientAsync
|
@Override //AMRMClientAsync
|
||||||
public void onError(Throwable e) {
|
public void onError(Throwable e) {
|
||||||
//callback says it's time to finish
|
LOG_YARN.info("Ignoring AMRMClientAsync.onError() received {}", e);
|
||||||
LOG_YARN.error("AMRMClientAsync.onError() received {}", e, e);
|
|
||||||
signalAMComplete(new ActionStopSlider("stop",
|
|
||||||
EXIT_EXCEPTION_THROWN,
|
|
||||||
FinalApplicationStatus.FAILED,
|
|
||||||
"AMRMClientAsync.onError() received " + e));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* =================================================================== */
|
/* =================================================================== */
|
||||||
|
Loading…
Reference in New Issue
Block a user