spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sro...@apache.org
Subject spark git commit: [SPARK-5966][WIP] Spark-submit deploy-mode cluster is not compatible with master local>
Date Mon, 26 Oct 2015 09:35:47 GMT
Repository: spark
Updated Branches:
  refs/heads/master 05c4bdb57 -> 616be29c7


[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.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/616be29c
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/616be29c
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/616be29c

Branch: refs/heads/master
Commit: 616be29c7f2ebc184bd5ec97210da36a2174d80c
Parents: 05c4bdb
Author: Kevin Yu <qyu@us.ibm.com>
Authored: Mon Oct 26 09:34:15 2015 +0000
Committer: Sean Owen <sowen@cloudera.com>
Committed: Mon Oct 26 09:35:19 2015 +0000

----------------------------------------------------------------------
 core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/616be29c/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala
----------------------------------------------------------------------
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 640cc32..84ae122 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) =>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org


Mime
View raw message