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

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

Alexander Bessonov created SPARK-20900:
------------------------------------------

             Summary: 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: 2.1.0, 1.6.0, 1.2.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