[ https://issues.apache.org/jira/browse/SPARK-6058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen resolved SPARK-6058. ------------------------------ Resolution: Fixed Fix Version/s: 1.3.0 Issue resolved by pull request 4813 [https://github.com/apache/spark/pull/4813] > Log the error for the EXIT_EXCEPTION_USER_CLASS exit code > --------------------------------------------------------- > > Key: SPARK-6058 > URL: https://issues.apache.org/jira/browse/SPARK-6058 > Project: Spark > Issue Type: Improvement > Components: YARN > Affects Versions: 1.2.1 > Reporter: Shixiong Zhu > Priority: Minor > Fix For: 1.3.0 > > > When running in the yarn-cluster mode, the user cannot find the stack trace > of the driver error in the log. > In > https://github.com/apache/spark/blob/8cd1692c9092150107bed27777951633cbf945f6/yarn/src/main/scala/org/apache/spark/deploy/yarn/ApplicationMaster.scala#L488 > , it will rethrow `cause`. However, because ApplicationMaster doesn't set > SparkUncaughtExceptionHandler. The error won't be logged. > To view this error in the log, we should call `logError` to log it. > -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org