Shixiong Zhu created SPARK-6058:
-----------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]