Skip to content

Commit a764960

Browse files
SaintBacchusJoshRosen
authored andcommitted
[Minor] Build Failed: value defaultProperties not found
Mvn Build Failed: value defaultProperties not found .Maybe related to this pr: 1d64812 andrewor14 can you look at this problem? Author: huangzhaowei <[email protected]> Closes #3749 from SaintBacchus/Mvn-Build-Fail and squashes the following commits: 8e2917c [huangzhaowei] Build Failed: value defaultProperties not found
1 parent 15c03e1 commit a764960

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ private[spark] class SparkSubmitArguments(args: Seq[String], env: Map[String, St
121121
jars = Option(jars).orElse(sparkProperties.get("spark.jars")).orNull
122122
deployMode = Option(deployMode).orElse(env.get("DEPLOY_MODE")).orNull
123123
numExecutors = Option(numExecutors)
124-
.getOrElse(defaultProperties.get("spark.executor.instances").orNull)
124+
.getOrElse(sparkProperties.get("spark.executor.instances").orNull)
125125

126126
// Try to set main class from JAR if no --class argument is given
127127
if (mainClass == null && !isPython && primaryResource != null) {

0 commit comments

Comments
 (0)