[
https://issues.apache.org/jira/browse/COMPRESS-284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14032407#comment-14032407
]
Inspico commented on COMPRESS-284:
----------------------------------
We don't use the same InputStream archiveData on each threads since each
archives will generate a différent thread and so a different FileInputStream.
This function was working with an old lib. This one cannot extract big
archives.
So we had change our lib to apache common compress. But we are faced to this
new issue that we didn't had with the other lib.
> Multi Thread Uncompress TGZ - CRC32 ERROR
> -----------------------------------------
>
> Key: COMPRESS-284
> URL: https://issues.apache.org/jira/browse/COMPRESS-284
> Project: Commons Compress
> Issue Type: Bug
> Affects Versions: 1.8.1
> Environment: Linux
> Reporter: Inspico
>
> We have to uncompress ".tar.gz".
> So we use an "TarArchiveInputStream(GzipCompressorInputStream)".
> An archive extracted alone works perfectly.
> But when we have to launch paralleles thread to extract many archives at the
> same time we get the same error for each thread :
> java.lang.Exception: Error while extracting list of files from Archive :
> java.io.IOException: Gzip-compressed data is corrupt (CRC32 error)
> Sometimes we may have a success for only one archive among all errors.
> Is there any problems on the use of TarInputStream or GZIPInputStream in
> multi-thread ?
--
This message was sent by Atlassian JIRA
(v6.2#6252)