Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/19466#discussion_r143863570
--- 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) {
--- End diff --
Seems to me like what you want here is `clusterManager != YARN` instead.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]