Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-194

Unable to create a TAR file that contains an entry which is >8 GB in size.

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not A Problem
    • Affects Version/s: 1.4.1
    • Fix Version/s: 1.4
    • Component/s: Archivers
    • Labels:
      None
    • Environment:

      I am using win xp and Red HatLinux 5.1v, but this should be platform independent.

      Description

      The common-compress-1.4.1 api says it supports unlimited file sizes for tar and untar operations. http://ant.apache.org/antlibs/compress/

      Only Untar operations on a file > 8GB is fixed,

      But creating a tar on a file >8GB is not working.

      When I try to do " tarOutputStream.putArchiveEntry(archiveEntry); "
      i get the below exception.
      java.lang.RuntimeException: entry size '9633985364' is too big ( > 8589934591 )
      at org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.failForBigNumber(TarArchiveOutputStream.java:572)
      at org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.failForBigNumbers(TarArchiveOutputStream.java:557)
      at org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.putArchiveEntry(TarArchiveOutputStream.java:297)

      Looking for a fix ..

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jessy_2012 Jessy

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment