[ 
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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to