GitHub user zhzhan opened a pull request:
https://github.com/apache/spark/pull/5637
[SPARK-7009] repackaging spark assembly jar with jdk1.6 to make it work
with pyspark
Due to zip format issue, python cannot recognize the jar file packaged
with jdk-1.7. Discussed with @steveloughran, this patch provide a walkaround to
unzip and zip the assembly jar with java6. In other words, it supports to build
spark with jdk-1.7 and generate package with java6.
It is done by a profile named repackage. User has to provide the location
of their jar tools from jdk-1.6. By default, there is no behavior change.
mvn clean pakage -Prepackage -Djar.tool=<jdk1.6 jar location>
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zhzhan/spark SPARK-7009
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/5637.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 #5637
----
commit ab38c71356c23d63ca9f3990c8c0f0b8e8fc7976
Author: Zhan Zhang <[email protected]>
Date: 2015-04-22T20:04:04Z
add jdk1.6 repackage support for jdk1.7 build
----
---
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]