Skip to content

Commit 08b0750

Browse files
author
Andrew Or
committed
[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 <[email protected]> Closes #8590 from andrewor14/mesos-cluster-r-guard.
1 parent db4c130 commit 08b0750

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,9 @@ object SparkSubmit {
322322
case (MESOS, CLUSTER) if args.isPython =>
323323
printErrorAndExit("Cluster deploy mode is currently not supported for python " +
324324
"applications on Mesos clusters.")
325+
case (MESOS, CLUSTER) if args.isR =>
326+
printErrorAndExit("Cluster deploy mode is currently not supported for R " +
327+
"applications on Mesos clusters.")
325328
case (STANDALONE, CLUSTER) if args.isPython =>
326329
printErrorAndExit("Cluster deploy mode is currently not supported for python " +
327330
"applications on standalone clusters.")

0 commit comments

Comments
 (0)