Skip to content

Commit

Permalink
improvement(client): throw the exception when submitting to Yarn (#680)
Browse files Browse the repository at this point in the history
Sometimes, if you specify the non-existing queue name, the client will exit but no any exception. After this, the exception will show the problem
  • Loading branch information
zuston authored Sep 1, 2023
1 parent d1a6954 commit b7ed78c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tony-core/src/main/java/com/linkedin/tony/TonyClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -1341,7 +1341,7 @@ public int start() {
result = run();
} catch (InterruptedException | YarnException interruptedException) {
try {
LOG.info("Force killing application due to accepting interruption semaphore.");
LOG.info("Force killing application due to accepting interruption semaphore.", interruptedException);
forceKillApplication();
} catch (Exception e) {
LOG.error("Errors on killing application when tony client throws exception", e);
Expand Down

0 comments on commit b7ed78c

Please sign in to comment.