YARN-8075. DShell does not fail when we ask more GPUs than available even though AM throws 'InvalidResourceRequestException'. Contributed by Wangda Tan.

(cherry picked from commit d1e378d02bdaec2f078ccc89698e7959ffcc71b3)
This commit is contained in:
Sunil G 2018-03-28 08:03:18 +05:30
parent 85eebf1beb
commit 6c904388f4

View File

@ -1147,7 +1147,6 @@ public float getProgress() {
public void onError(Throwable e) {
LOG.error("Error in RMCallbackHandler: ", e);
done = true;
amRMClient.stop();
}
}