Github user andrewor14 commented on a diff in the pull request:
https://github.com/apache/spark/pull/6360#discussion_r31766478
--- Diff: core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala ---
@@ -387,13 +384,6 @@ object SparkSubmit {
}
if (isYarnCluster) {
- // In yarn-cluster mode for a python app, add primary resource and
pyFiles to files
- // that can be distributed with the job
- if (args.isPython) {
- args.files = mergeFileLists(args.files, args.primaryResource)
- args.files = mergeFileLists(args.files, args.pyFiles)
- }
-
// In yarn-cluster mode for a R app, add primary resource to files
// that can be distributed with the job
if (args.isR) {
--- End diff --
now that you removed the python stuff you can simplify this to `if
(isYarnCluster && args.isR) {`
---
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]