Github user dbtsai commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1013#discussion_r13573544
  
    --- Diff: 
yarn/stable/src/main/scala/org/apache/spark/deploy/yarn/Client.scala ---
    @@ -507,12 +508,19 @@ object Client {
           Apps.addToEnvironment(env, Environment.CLASSPATH.name, 
Environment.PWD.$() +
             Path.SEPARATOR + LOG4J_PROP)
         }
    +
    +    val cachedSecondaryJarLinks =
    +      
sparkConf.getOption(CONF_SPARK_YARN_SECONDARY_JARS).getOrElse("").split(",")
    --- End diff --
    
    Thanks. You are right. It will add empty string to array, and then add the 
folder without file into classpath. Will fix in master as well.


---
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.
---

Reply via email to