Github user andrewor14 commented on the pull request: https://github.com/apache/spark/pull/1349#issuecomment-48684352 I found a small bug by testing on YARN. If we run a shell or python application with `--master yarn-cluster` and no deploy mode, spark submit is supposed to get mad because cluster mode is not supported for either application. This is a simple ordering issue fixed in the latest commit.
--- 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. ---