Github user liancheng commented on the pull request:
https://github.com/apache/spark/pull/1715#issuecomment-50955875
Discussed with @pwendell offline, record a summary here:
1. We leave the current option passing mode as is to keep downward
compatibility
1. Introducing `--` as a new application option passing mode, but should be
used mutually exclusive with primary resource (either Jar file or Python file).
Users need to use `--jars` and/or `--py-files` to specify the primary
resource if they'd like to use `--` as application option separator.
So basically, we'll have this:
```
if primary resource exists:
resort to the old option passing mode
else if -- exists:
pass everything after -- to the application
if --py-files exists:
isPyhon = true
else:
isPython = false
else:
report error
```
---
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]