Github user rxin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1200#discussion_r14276154
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala ---
    @@ -117,14 +117,25 @@ object SparkSubmit {
         val isPython = args.isPython
         val isYarnCluster = clusterManager == YARN && deployOnCluster
     
    +    // For mesos, only client mode is supported
         if (clusterManager == MESOS && deployOnCluster) {
    -      printErrorAndExit("Cannot currently run driver on the cluster in 
Mesos")
    +      printErrorAndExit("Mesos cluster mode is currently not supported.")
    +    }
    +
    +    // For standalone, only client mode is supported
    +    if (clusterManager == STANDALONE && deployOnCluster) {
    +      printErrorAndExit("Standalone cluster mode is currently not 
supported.")
    --- End diff --
    
    here too


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to