You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by xi...@apache.org on 2021/02/03 21:01:05 UTC

[incubator-pinot] branch master updated: Allow tar gz with > 8gb size (#6533)

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

xiangfu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new 421828d  Allow tar gz with > 8gb size (#6533)
421828d is described below

commit 421828d4e3d8ceb14f97f89b73f716f3fa183f76
Author: Xiang Fu <fx...@gmail.com>
AuthorDate: Wed Feb 3 13:00:45 2021 -0800

    Allow tar gz with > 8gb size (#6533)
---
 .../main/java/org/apache/pinot/common/utils/TarGzCompressionUtils.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pinot-common/src/main/java/org/apache/pinot/common/utils/TarGzCompressionUtils.java b/pinot-common/src/main/java/org/apache/pinot/common/utils/TarGzCompressionUtils.java
index 40aee31..bb2da81 100644
--- a/pinot-common/src/main/java/org/apache/pinot/common/utils/TarGzCompressionUtils.java
+++ b/pinot-common/src/main/java/org/apache/pinot/common/utils/TarGzCompressionUtils.java
@@ -62,6 +62,7 @@ public class TarGzCompressionUtils {
         BufferedOutputStream bufferedOut = new BufferedOutputStream(fileOut);
         OutputStream gzipOut = new GzipCompressorOutputStream(bufferedOut);
         TarArchiveOutputStream tarGzOut = new TarArchiveOutputStream(gzipOut)) {
+      tarGzOut.setBigNumberMode(TarArchiveOutputStream.BIGNUMBER_STAR);
       tarGzOut.setLongFileMode(TarArchiveOutputStream.LONGFILE_GNU);
       addFileToTarGz(tarGzOut, inputFile, "");
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org