Skip to content

Commit 8e2917c

Browse files
committed
Build Failed: value defaultProperties not found
1 parent 15c03e1 commit 8e2917c

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)