You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by vanzin <gi...@git.apache.org> on 2017/10/10 21:56:49 UTC
[GitHub] spark pull request #19466: [SPARK-22237] [CORE] Fix spark submit file downlo...
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: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org