You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by an...@apache.org on 2015/09/03 22:57:24 UTC

spark git commit: [SPARK-10435] Spark submit should fail fast for Mesos cluster mode with R

Repository: spark
Updated Branches:
  refs/heads/master db4c130f9 -> 08b075097


[SPARK-10435] Spark submit should fail fast for Mesos cluster mode with R

It's not supported yet so we should error with a clear message.

Author: Andrew Or <an...@databricks.com>

Closes #8590 from andrewor14/mesos-cluster-r-guard.


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

Branch: refs/heads/master
Commit: 08b07509746667791db7dbfa1b329b0e221044bb
Parents: db4c130
Author: Andrew Or <an...@databricks.com>
Authored: Thu Sep 3 13:57:20 2015 -0700
Committer: Andrew Or <an...@databricks.com>
Committed: Thu Sep 3 13:57:20 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/spark/blob/08b07509/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 86fcf94..36e9750 100644
--- a/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala
+++ b/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala
@@ -322,6 +322,9 @@ object SparkSubmit {
       case (MESOS, CLUSTER) if args.isPython =>
         printErrorAndExit("Cluster deploy mode is currently not supported for python " +
           "applications on Mesos clusters.")
+      case (MESOS, CLUSTER) if args.isR =>
+        printErrorAndExit("Cluster deploy mode is currently not supported for R " +
+          "applications on Mesos clusters.")
       case (STANDALONE, CLUSTER) if args.isPython =>
         printErrorAndExit("Cluster deploy mode is currently not supported for python " +
           "applications on standalone clusters.")


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