Github user liancheng commented on the pull request:

    https://github.com/apache/spark/pull/1801#issuecomment-51546254
  
    @vanzin The point here is that, the only valid way to call `spark-submit` 
according both both our documentation and the usage message `spark-submit` 
prints is
    
    ```
    spark-submit [options] <app jar | python file> [app options]
    ```
    
    And we decided to be only compatible with this spec we have at hand. 
Existing scripts that rely on this bug (i.e., putting `--master` after primary 
resource) should be fixed, and we're not going to be compatible with them. And 
we do plan to provide a cleaner `spark-submit` interface in future releases.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to