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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]