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

    https://github.com/apache/spark/pull/3233#discussion_r22942605
  
    --- Diff: yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala ---
    @@ -762,46 +764,37 @@ object Client extends Logging {
           extraClassPath: Option[String] = None): Unit = {
         extraClassPath.foreach(addClasspathEntry(_, env))
         addClasspathEntry(Environment.PWD.$(), env)
    -
    -    // Normally the users app.jar is last in case conflicts with spark jars
         if (sparkConf.getBoolean("spark.yarn.user.classpath.first", false)) {
    -      addUserClasspath(args, sparkConf, env)
    -      addFileToClasspath(sparkJar(sparkConf), SPARK_JAR, env)
    -      populateHadoopClasspath(conf, env)
    -    } else {
    -      addFileToClasspath(sparkJar(sparkConf), SPARK_JAR, env)
    -      populateHadoopClasspath(conf, env)
    -      addUserClasspath(args, sparkConf, env)
    +      getUserClasspath(args, sparkConf).foreach { x =>
    +        addFileToClasspath(x, null, env)
    +      }
         }
    -
    -    // Append all jar files under the working directory to the classpath.
    -    addClasspathEntry(Environment.PWD.$() + Path.SEPARATOR + "*", env)
    --- End diff --
    
    why was * removed? I can't remember what but I thought certain things broke 
when this was removed.  Maybe that no longer applies though.  You tested the 
various ways of enabling logging?


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to