Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/21426#discussion_r190778033
--- Diff: core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala ---
@@ -372,8 +376,27 @@ private[spark] class SparkSubmit extends Logging {
localJars = Option(args.jars).map {
downloadFileList(_, targetDir, sparkConf, hadoopConf, secMgr)
}.orNull
- localPyFiles = Option(args.pyFiles).map {
- downloadFileList(_, targetDir, sparkConf, hadoopConf, secMgr)
+ localPyFiles = Option(args.pyFiles).map { pyFiles =>
+ if (isClientPythonSubmit) {
--- End diff --
Yup, it can be. Will try.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]