You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Aniket Bhatnagar (JIRA)" <ji...@apache.org> on 2015/01/09 05:19:34 UTC

[jira] [Created] (SPARK-5164) YARN | Spark job submits from windows machine to a linux YARN cluster fail

Aniket Bhatnagar created SPARK-5164:
---------------------------------------

             Summary: YARN | Spark job submits from windows machine to a linux YARN cluster fail
                 Key: SPARK-5164
                 URL: https://issues.apache.org/jira/browse/SPARK-5164
             Project: Spark
          Issue Type: Bug
          Components: YARN
    Affects Versions: 1.2.0
         Environment: Spark submit from Windows 7
YARN cluster on CentOS 6.5
            Reporter: Aniket Bhatnagar


While submitting spark jobs from a windows machine to a linux YARN cluster, the jobs fail because of the following reasons:

1. Commands and classpath contain environment variables (like JAVA_HOME, PWD, etc) but are added as per windows's syntax (%JAVA_HOME%, %PWD%, etc) instead of linux's syntax ($JAVA_HOME, $PWD, etc).
2. Paths in launch environment are delimited by semi-colon instead of colon. This is because of usage of Path.SEPARATOR in ClientBase and YarnSparkHadoopUtil.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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