[jira] [Updated] (SPARK-5164) YARN | Spark job submits from windows machine to a linux YARN cluster fail
[ https://issues.apache.org/jira/browse/SPARK-5164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aniket Bhatnagar updated SPARK-5164: Description: 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 File.pathSeparator in ClientBase and YarnSparkHadoopUtil. was: 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. > 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 File.pathSeparator in ClientBase and > YarnSparkHadoopUtil. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Updated] (SPARK-5164) YARN | Spark job submits from windows machine to a linux YARN cluster fail
[ https://issues.apache.org/jira/browse/SPARK-5164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aniket Bhatnagar updated SPARK-5164: Description: 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 File.pathSeparator in YarnSparkHadoopUtil. was: 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 File.pathSeparator in ClientBase and YarnSparkHadoopUtil. > 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 File.pathSeparator in YarnSparkHadoopUtil. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org