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 d1e378d02b
)
This commit is contained in:
parent
85eebf1beb
commit
6c904388f4
|
@ -1147,7 +1147,6 @@ public class ApplicationMaster {
|
||||||
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