Github user andrewor14 commented on the pull request:
https://github.com/apache/spark/pull/1715#issuecomment-50968956
@liancheng @pwendell Is the argument for adding a `--primary` that the
application might accept `--` as an argument? For example, if the user does the
following:
```
bin/spark-submit app.jar apparg1 -- apparg2
```
It's impossible to know whether the arguments are `apparg1 -- apparg2` or
just `apparg1 apparg2`. Then it seems that `--` should always be used with
`--primary`. Maybe we should make this point more explicit in the docs and
error messages (i.e. don't only mention one or the other).
Have you considered other alternatives for the name "primary"? It makes
sense to us because we refer the user application jar / python file as the
primary resource, but it may not make as much sense to the user. At the same
time I'm not sure if there is a better alternative. (I'm thinking about
`--application-jar`, but that means we'll need something like
`--application-file` for python. Maybe this is not worth the hassle).
---
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]