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

    https://github.com/apache/spark/pull/848#discussion_r12921552
  
    --- Diff: 
yarn/common/src/main/scala/org/apache/spark/deploy/yarn/ClientBase.scala ---
    @@ -479,37 +485,24 @@ object ClientBase {
     
         extraClassPath.foreach(addClasspathEntry)
     
    -    addClasspathEntry(Environment.PWD.$())
    +    val cachedSecondaryJarLinks =
    +      
sparkConf.getOption(CONF_SPARK_YARN_SECONDARY_JARS).getOrElse("").split(",")
         // Normally the users app.jar is last in case conflicts with spark jars
         if (sparkConf.get("spark.yarn.user.classpath.first", 
"false").toBoolean) {
    --- End diff --
    
    What's difference between `spark.yarn.user.classpath.first` and 
`spark.files.userClassPathFirst `? For me, it seems to be the same thing with 
two different configuration. 


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