Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/11500#discussion_r55736339
--- Diff: yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala ---
@@ -423,7 +423,63 @@ private[spark] class Client(
}
/**
- * Copy the given main resource to the distributed cache if the scheme
is not "local".
+ * Add Spark to the cache. There are two settings that control what
files to add to the cache:
+ * - if a Spark archive is defined, use the archive. The archive is
expected to contain
+ * jar files at its root directory.
+ * - if a list of jars is provided, filter the non-local ones, resolve
globs, and
+ * add the found files to the cache.
+ *
+ * Note that the archive cannot be a "local" URI. If none of the above
settings are found,
+ * then upload all files found in $SPARK_HOME/jars.
+ *
+ * TODO: currently the code looks in $SPARK_HOME/lib while the work to
replace assemblies
--- End diff --
That's SPARK-13579. I'll have to fix all these when working on that one,
otherwise Spark won't work, so these are mostly reminders for myself that will
go away pretty soon.
---
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]