Skip to content

Commit 8d20936

Browse files
author
Brennon York
committed
updated to reset the error message back to the default
1 parent a043039 commit 8d20936

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,7 @@ private[spark] class SparkSubmitArguments(args: Seq[String], env: Map[String, St
131131
mainClass = jar.getManifest.getMainAttributes.getValue("Main-Class")
132132
} catch {
133133
case e: Exception =>
134-
SparkSubmit.printErrorAndExit("Cannot main: " + primaryResource)
135-
//SparkSubmit.printErrorAndExit("Cannot load main class from JAR: " + primaryResource)
134+
SparkSubmit.printErrorAndExit("Cannot load main class from JAR: " + primaryResource)
136135
return
137136
}
138137
}

0 commit comments

Comments
 (0)