aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorKevin Yu <qyu@us.ibm.com>2015-10-26 09:34:15 +0000
committerSean Owen <sowen@cloudera.com>2015-10-26 09:35:19 +0000
commit616be29c7f2ebc184bd5ec97210da36a2174d80c (patch)
treeb3615c96a6be1cdd362205dfabb7fde40bd45e6a /core
parent05c4bdb57947f44924b4fbdd8e4e2101f2f816f5 (diff)
downloadspark-616be29c7f2ebc184bd5ec97210da36a2174d80c.tar.gz
spark-616be29c7f2ebc184bd5ec97210da36a2174d80c.tar.bz2
spark-616be29c7f2ebc184bd5ec97210da36a2174d80c.zip
[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.
Diffstat (limited to 'core')
-rw-r--r--core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala b/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala
index 640cc32528..84ae122f44 100644
--- a/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala
+++ b/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala
@@ -328,6 +328,8 @@ object SparkSubmit {
case (STANDALONE, CLUSTER) if args.isR =>
printErrorAndExit("Cluster deploy mode is currently not supported for R " +
"applications on standalone clusters.")
+ case (LOCAL, CLUSTER) =>
+ printErrorAndExit("Cluster deploy mode is not compatible with master \"local\"")
case (_, CLUSTER) if isShell(args.primaryResource) =>
printErrorAndExit("Cluster deploy mode is not applicable to Spark shells.")
case (_, CLUSTER) if isSqlShell(args.mainClass) =>