Skip to content

Commit 616be29

Browse files
kevinyu98srowen
authored andcommitted
[SPARK-5966][WIP] Spark-submit deploy-mode cluster is not compatible with master local>
… master local> Author: Kevin Yu <[email protected]> Closes #9220 from kevinyu98/working_on_spark-5966.
1 parent 05c4bdb commit 616be29

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,8 @@ object SparkSubmit {
328328
case (STANDALONE, CLUSTER) if args.isR =>
329329
printErrorAndExit("Cluster deploy mode is currently not supported for R " +
330330
"applications on standalone clusters.")
331+
case (LOCAL, CLUSTER) =>
332+
printErrorAndExit("Cluster deploy mode is not compatible with master \"local\"")
331333
case (_, CLUSTER) if isShell(args.primaryResource) =>
332334
printErrorAndExit("Cluster deploy mode is not applicable to Spark shells.")
333335
case (_, CLUSTER) if isSqlShell(args.mainClass) =>

0 commit comments

Comments
 (0)