Skip to content
Snippets Groups Projects
Commit 616be29c authored by Kevin Yu's avatar Kevin Yu Committed by Sean Owen
Browse files

[SPARK-5966][WIP] Spark-submit deploy-mode cluster is not compatible with master local>

… master local>

Author: Kevin Yu <qyu@us.ibm.com>

Closes #9220 from kevinyu98/working_on_spark-5966.
parent 05c4bdb5
No related branches found
No related tags found
No related merge requests found
...@@ -328,6 +328,8 @@ object SparkSubmit { ...@@ -328,6 +328,8 @@ object SparkSubmit {
case (STANDALONE, CLUSTER) if args.isR => case (STANDALONE, CLUSTER) if args.isR =>
printErrorAndExit("Cluster deploy mode is currently not supported for R " + printErrorAndExit("Cluster deploy mode is currently not supported for R " +
"applications on standalone clusters.") "applications on standalone clusters.")
case (LOCAL, CLUSTER) =>
printErrorAndExit("Cluster deploy mode is not compatible with master \"local\"")
case (_, CLUSTER) if isShell(args.primaryResource) => case (_, CLUSTER) if isShell(args.primaryResource) =>
printErrorAndExit("Cluster deploy mode is not applicable to Spark shells.") printErrorAndExit("Cluster deploy mode is not applicable to Spark shells.")
case (_, CLUSTER) if isSqlShell(args.mainClass) => case (_, CLUSTER) if isSqlShell(args.mainClass) =>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment