Github user jerryshao commented on a diff in the pull request:
https://github.com/apache/spark/pull/18962#discussion_r133445243
--- Diff: core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala ---
@@ -461,6 +488,7 @@ object SparkSubmit extends CommandLineUtils {
OptionAssigner(args.queue, YARN, ALL_DEPLOY_MODES, sysProp =
"spark.yarn.queue"),
OptionAssigner(args.numExecutors, YARN, ALL_DEPLOY_MODES,
sysProp = "spark.executor.instances"),
+ OptionAssigner(args.pyFiles, YARN, ALL_DEPLOY_MODES, sysProp =
"spark.yarn.dist.pyFiles"),
--- End diff --
"spark.submit.pyFiles" both used in python and YARN#client, where in python
it requires local files, but in YARN#client we can support the remote files, so
using one configuration to control two scenarios is hard to do. In YARN I use a
new configuration only for pyfiles to add to distributed cache.
---
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]