GitHub user steveloughran opened a pull request:

    https://github.com/apache/spark/pull/5592

    SPARK-7009 Build assembly JAR via ant to avoid zip64 problems

    This is the ~30 line patch to have ant generate a zip32 artifact straight 
off the shaded JAR. As noted however, the line class count is >64K, at least 
for trunk
    
    ```
    [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-antrun-plugin:1.8:run (default)
      on project spark-assembly_2.10:
      An Ant BuildException has occured: Problem creating zip: archive contains 
more than 65535 entries.
    [ERROR] around Ant part ...<zip encoding="UTF-8" zip64mode="never" 
      
destfile="/spark/assembly/target/scala-2.10/spark-assembly-1.4.0-SNAPSHOT-hadoop2.2.0.jar">
    ```

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/steveloughran/spark 
stevel/patches/SPARK-7009-jar-compression

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/5592.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 #5592
    
----
commit 49b949af2a680de6267d09feb33e17c215a972dc
Author: Steve Loughran <[email protected]>
Date:   2015-04-20T11:11:56Z

    SPARK-7009 Build assembly JAR via ant to avoid zip64 problems

----


---
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]

Reply via email to