Github user srowen commented on a diff in the pull request: https://github.com/apache/spark/pull/899#discussion_r13127330 --- Diff: yarn/common/src/main/scala/org/apache/spark/deploy/yarn/ClientBase.scala --- @@ -473,15 +474,15 @@ object ClientBase { if (localPath != null) { val parentPath = new File(localPath).getParent() YarnSparkHadoopUtil.addToEnvironment(env, Environment.CLASSPATH.name, parentPath, - File.pathSeparator) + ApplicationConstants.CLASS_PATH_SEPARATOR) --- End diff -- Oh I get it. Because the client forms the path but sends it to the server, so it's produced and consumed in different places. The bad news is that you can't use this constant, but, I suppose you can literally specify "<CPS>". But will that fail for Hadoop < 2.4?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---