You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by bl...@apache.org on 2021/09/19 16:46:35 UTC

[iceberg] branch master updated: Build: Enable zip64 to allow > 65535 files for JMH (#3145)

This is an automated email from the ASF dual-hosted git repository.

blue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git


The following commit(s) were added to refs/heads/master by this push:
     new e6fa15f  Build: Enable zip64 to allow > 65535 files for JMH (#3145)
e6fa15f is described below

commit e6fa15fc13ad0ddff3a9ec0ce258d40564f6f549
Author: Eduard Tudenhöfner <et...@gmail.com>
AuthorDate: Sun Sep 19 18:46:25 2021 +0200

    Build: Enable zip64 to allow > 65535 files for JMH (#3145)
    
    This started to happen after the Gradle 7 upgrade
    
    ```
    > Task :iceberg-spark3:jmhJar FAILED
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':iceberg-spark3:jmhJar'.
    > archive contains more than 65535 entries.
    
      To build this archive, please enable the zip64 extension.
      See: https://docs.gradle.org/7.2/dsl/org.gradle.api.tasks.bundling.Zip.html#org.gradle.api.tasks.bundling.Zip:zip64
    ```
---
 jmh.gradle | 1 +
 1 file changed, 1 insertion(+)

diff --git a/jmh.gradle b/jmh.gradle
index 031618f..543b07f 100644
--- a/jmh.gradle
+++ b/jmh.gradle
@@ -36,6 +36,7 @@ configure(jmhProjects) {
     includeTests = true
     humanOutputFile = file(jmhOutputPath)
     include = [jmhIncludeRegex]
+    zip64 true
   }
 
   // Path is relative to either spark2 or spark3 folder, depending on project being tested