aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBrennon York <brennon.york@capitalone.com>2014-12-31 11:54:10 -0800
committerJosh Rosen <joshrosen@databricks.com>2014-12-31 11:54:10 -0800
commit8e14c5eb551ab06c94859c7f6d8c6b62b4d00d59 (patch)
treec3e848c659e2379451a02d2a5856e6cdb5a7c522 /docs
parent06a9aa589c518a40a3c7cc201e89d75af77ab93e (diff)
downloadspark-8e14c5eb551ab06c94859c7f6d8c6b62b4d00d59.tar.gz
spark-8e14c5eb551ab06c94859c7f6d8c6b62b4d00d59.tar.bz2
spark-8e14c5eb551ab06c94859c7f6d8c6b62b4d00d59.zip
[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. Author: Brennon York <brennon.york@capitalone.com> Closes #3561 from brennonyork/SPARK-4298 and squashes the following commits: 5e0fce1 [Brennon York] Use string interpolation for error messages, moved comment line from original code to above its necessary code segment 14daa20 [Brennon York] pushed mainClass assignment into match statement, removed spurious spaces, removed { } from case statements, removed return values c6dad68 [Brennon York] Set case statement to support multiple jar URI's and enabled the 'file' URI to load the main-class 8d20936 [Brennon York] updated to reset the error message back to the default a043039 [Brennon York] updated to split the uri and jar vals 8da7cbf [Brennon York] fixes SPARK-4298
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions