Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/11603#discussion_r57478478
--- Diff: yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala ---
@@ -510,10 +516,12 @@ private[spark] class Client(
* (3) whether to add these resources to the classpath
*/
val cachedSecondaryJarLinks = ListBuffer.empty[String]
+ val files = sparkConf.get(FILES_TO_DISTRIBUTE).map(p =>
Utils.resolveURIs(p)).orNull
--- End diff --
There's code in SparkSubmit that does this already, I don't see you
removing it, so probably this is not needed? Search for `pathConfigs` in
SparkSubmit.scala. It would also be ok if you removed processing of these
configs from SparkSubmit.
Also, don't you need to do this for `JARS_TO_DISTRIBUTE` too to be
consistent?
---
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]