You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2017/05/26 19:11:04 UTC

[jira] [Commented] (SPARK-20900) ApplicationMaster crashes if SPARK_YARN_STAGING_DIR is not set

    [ https://issues.apache.org/jira/browse/SPARK-20900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16026694#comment-16026694 ] 

Apache Spark commented on SPARK-20900:
--------------------------------------

User 'nonsleepr' has created a pull request for this issue:
https://github.com/apache/spark/pull/18124

> ApplicationMaster crashes if SPARK_YARN_STAGING_DIR is not set
> --------------------------------------------------------------
>
>                 Key: SPARK-20900
>                 URL: https://issues.apache.org/jira/browse/SPARK-20900
>             Project: Spark
>          Issue Type: Bug
>          Components: YARN
>    Affects Versions: 1.2.0, 1.6.0, 2.1.0
>         Environment: Spark 2.1.0
>            Reporter: Alexander Bessonov
>            Priority: Minor
>
> When running {{ApplicationMaster}} directly, if {{SPARK_YARN_STAGING_DIR}} is not set or set to empty string, {{org.apache.hadoop.fs.Path}} will throw {{IllegalArgumentException}} instead of returning {{null}}. This is not handled and the exception crashes the job.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org