Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/3233#discussion_r24357111
--- Diff: yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala ---
@@ -782,7 +785,13 @@ object Client extends Logging {
/**
* Populate the classpath entry in the given environment map.
- * This includes the user jar, Spark jar, and any extra application jars.
+ *
+ * User jars are generally not added to the JVM's classpath; those are
handled by the AM and
+ * executor backend. When the deprecated
`spark.yarn.user.classpath.first` is used, user jars are
--- End diff --
> because these jars are technically added to the JVM's class path
Not true. They're added to a different class loader, and thus do not show
up in `sys.props("java.class.path")` at all.
---
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]