Skip to content

Commit e5f2752

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 (cherry picked from commit a764960) Signed-off-by: Josh Rosen <[email protected]>
1 parent 3597c2e commit e5f2752

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
@@ -122,7 +122,7 @@ private[spark] class SparkSubmitArguments(args: Seq[String], env: Map[String, St
122122
master = Option(master).orElse(env.get("MASTER")).orNull
123123
deployMode = Option(deployMode).orElse(env.get("DEPLOY_MODE")).orNull
124124
numExecutors = Option(numExecutors)
125-
.getOrElse(defaultProperties.get("spark.executor.instances").orNull)
125+
.getOrElse(sparkProperties.get("spark.executor.instances").orNull)
126126

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

0 commit comments

Comments
 (0)