Github user coderplay commented on a diff in the pull request:
https://github.com/apache/spark/pull/7091#discussion_r34313370
--- Diff:
core/src/main/scala/org/apache/spark/scheduler/local/LocalBackend.scala ---
@@ -97,10 +100,22 @@ private[spark] class LocalBackend(
private val appId = "local-" + System.currentTimeMillis
var localEndpoint: RpcEndpointRef = null
+ private val userClassPath = getUserClasspath(conf)
+
+ /**
+ * Returns a list of URLs representing the user classpath.
+ *
+ * @param conf Spark configuration.
+ */
+ def getUserClasspath(conf: SparkConf): Seq[URL] = {
+ val userClassPathStr = conf.getOption("spark.executor.extraClassPath")
+
userClassPathStr.map(_.split(File.pathSeparator)).toSeq.flatten.map(new URL(_))
--- End diff --
From
https://github.com/apache/spark/blob/master/yarn/src/main/scala/org/apache/spark/deploy/yarn/ExecutorRunnable.scala#L202
, seems spark doesn't sport non-local classpath
---
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]