[ 
https://issues.apache.org/jira/browse/SPARK-6058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Owen updated SPARK-6058:
-----------------------------
    Assignee: Shixiong Zhu

> 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
>            Assignee: 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

Reply via email to