spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aniket Bhatnagar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-5164) YARN | Spark job submits from windows machine to a linux YARN cluster fail
Date Fri, 09 Jan 2015 04:19:34 GMT
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


Mime
View raw message