We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cd1692 commit 806c932Copy full SHA for 806c932
yarn/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala
@@ -486,11 +486,10 @@ private[spark] class ApplicationMaster(
486
case _: InterruptedException =>
487
// Reporter thread can interrupt to stop user class
488
case cause: Throwable =>
489
+ logError("User class threw exception: " + cause.getMessage, cause)
490
finish(FinalApplicationStatus.FAILED,
491
ApplicationMaster.EXIT_EXCEPTION_USER_CLASS,
492
"User class threw exception: " + cause.getMessage)
- // re-throw to get it logged
493
- throw cause
494
}
495
496
0 commit comments