Skip to content

Commit 18f82d2

Browse files
author
Andrew Or
committed
Guard against Mesos cluster mode with R
1 parent 67580f1 commit 18f82d2

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)