Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/7739#discussion_r40593338
--- Diff: core/src/main/scala/org/apache/spark/deploy/Client.scala ---
@@ -67,8 +67,15 @@ private class ClientEndpoint(
// people call `addJar` assuming the jar is in the same
directory.
val mainClass = "org.apache.spark.deploy.worker.DriverWrapper"
- val classPathConf = "spark.driver.extraClassPath"
- val classPathEntries = sys.props.get(classPathConf).toSeq.flatMap
{ cp =>
+ val driverClassPathConf = "spark.driver.extraClassPath"
+ val commonClassPathConf = "spark.common.extraClassPath"
+
+ val driverClassPath = Some(
+ (sys.props.get(commonClassPathConf) ++
sys.props.get(driverClassPathConf))
--- End diff --
Not your fault; but it's slightly weird that this code is using `sys.props`
instead of the `SparkConf` object provided in the constructor.
---
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]