Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/19466#discussion_r143863177
--- Diff: core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala ---
@@ -366,6 +366,16 @@ object SparkSubmit extends CommandLineUtils with
Logging {
localPyFiles = Option(args.pyFiles).map {
downloadFileList(_, targetDir, sparkConf, hadoopConf, secMgr)
}.orNull
+
+ if (clusterManager == STANDALONE || clusterManager == LOCAL) {
+ // Use local files for standalone client mode.
+ args.primaryResource = localPrimaryResource
--- End diff --
Isn't this handled by the code in L522 already?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]