You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sr...@apache.org on 2015/10/26 10:35:47 UTC
spark git commit: [SPARK-5966][WIP] Spark-submit deploy-mode cluster
is not compatible with master local>
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 <qy...@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 <qy...@us.ibm.com>
Authored: Mon Oct 26 09:34:15 2015 +0000
Committer: Sean Owen <so...@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