Github user liancheng commented on the pull request:
https://github.com/apache/spark/pull/1715#issuecomment-51017797
@pwendell As for the difference between application jars (or secondary
jars) and primary jar, what is important is the way `SparkSubmit` handles them:
primary jar is ensured to be the first jar in the CLASSPATH, so that the main
class specified by `--class` will never be shadowed by some class of the same
name in some secondary jar. So removing primary resource from the user
interface (command line options) means:
1. Users must add the primary resource (either jar file or Python file) in
front of all other jars/python files
2. Internally, the first jar or first python file should be considered as
primary
IMHO, these requirements are too implicit...
---
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]