Github user andrewor14 commented on the pull request:

    https://github.com/apache/spark/pull/1715#issuecomment-50975678
  
    I personally find putting the application jar under either `--primary` or 
`--jars` pretty confusing. If they pass it to `--jars`, then now they have to 
worry about the ordering of the jars, because the first one will be parsed as 
the application jar. I think it should just be an argument by itself as it is 
today.
    
    Instead, I propose that we rename `--` to something more specific to Spark, 
such as `--spark-application-args`, such that everything that follows will be 
interpreted as application args. This essentially reduces the namespace of 
collision to the single config that we introduce in this PR (`--` or 
`--spark-application-args` or some better name).
    
    ```
    bin/spark-submit
      spark-internal
      --class [...].HiveThriftServer2
      --master local[*]
      --spark-application-args --master something --hiveconf k=v
    ```


---
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