GitHub user brennonyork opened a pull request:
https://github.com/apache/spark/pull/3561
[SPARK-4298][Core] - The spark-submit cannot read Main-Class from Manifest.
Resolves a bug where the `Main-Class` from a .jar file wasn't being read in
properly. This was caused by the fact that the `primaryResource` object was a
URI and needed to be normalized through a call to `.getPath` before it could be
passed into the `JarFile` object.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/brennonyork/spark SPARK-4298
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/3561.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3561
----
commit 8da7cbfb35738e2afb970870dc9dc6bcffb0444b
Author: Brennon York <[email protected]>
Date: 2014-11-27T17:04:41Z
fixes SPARK-4298
commit a0430390be4fee79feae219953e8b3181e6a31a6
Author: Brennon York <[email protected]>
Date: 2014-12-02T19:40:58Z
updated to split the uri and jar vals
commit 8d20936158eef737ed73c7639eb382fd3dab2d2c
Author: Brennon York <[email protected]>
Date: 2014-12-02T19:45:01Z
updated to reset the error message back to the default
----
---
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]