YARN-8075. DShell does not fail when we ask more GPUs than available even though AM throws 'InvalidResourceRequestException'. Contributed by Wangda Tan.
This commit is contained in:
parent
2a2ef15caf
commit
d1e378d02b
@ -1147,7 +1147,6 @@ public float getProgress() {
|
|||||||
public void onError(Throwable e) {
|
public void onError(Throwable e) {
|
||||||
LOG.error("Error in RMCallbackHandler: ", e);
|
LOG.error("Error in RMCallbackHandler: ", e);
|
||||||
done = true;
|
done = true;
|
||||||
amRMClient.stop();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user