You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/03/20 14:49:56 UTC
[GitHub] [spark] hehuiyuan commented on a change in pull request #24123:
[SPARK-27184][CORE] Replace 'spark.jars' & 'spark.files' with the variables
of this config object
hehuiyuan commented on a change in pull request #24123: [SPARK-27184][CORE] Replace 'spark.jars' & 'spark.files' with the variables of this config object
URL: https://github.com/apache/spark/pull/24123#discussion_r267378810
##########
File path: core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala
##########
@@ -542,10 +542,10 @@ private[spark] class SparkSubmit extends Logging {
OptionAssigner(args.totalExecutorCores, STANDALONE | MESOS | KUBERNETES, ALL_DEPLOY_MODES,
confKey = CORES_MAX.key),
OptionAssigner(args.files, LOCAL | STANDALONE | MESOS | KUBERNETES, ALL_DEPLOY_MODES,
- confKey = "spark.files"),
- OptionAssigner(args.jars, LOCAL, CLIENT, confKey = "spark.jars"),
+ confKey = FILES.key),
+ OptionAssigner(args.jars, LOCAL, CLIENT, confKey = JARS.key),
OptionAssigner(args.jars, STANDALONE | MESOS | KUBERNETES, ALL_DEPLOY_MODES,
- confKey = "spark.jars"),
Review comment:
ok
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org