commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Bodewig (JIRA)" <>
Subject [jira] [Resolved] (COMPRESS-467) Could not unzip the file properly
Date Fri, 19 Oct 2018 07:48:00 GMT


Stefan Bodewig resolved COMPRESS-467.
    Resolution: Not A Problem

Don't worry. I haven't seen concatenated bzip2 streams often but the 900k size gave me the
clue as this is the default block size of bzip2. Most likely your compressed file has been
created by a tool that supports parallel compressions and each compressor thread created one

> Could not unzip the file properly
> ---------------------------------
>                 Key: COMPRESS-467
>                 URL:
>             Project: Commons Compress
>          Issue Type: Bug
>         Environment: Window 7
>            Reporter: Yang Lin
>            Priority: Major
>              Labels: windows
>         Attachments: HS_H08_20180927_0600_B02_FLDK_R10_S0110.DAT.bz2
> When I use WinRAR unzip one file, I can get the result file properly which size is about
24,200,000 bytes. But I use commons-compress unzip this file, can only get 900,000 bytes(Operation
process: sourceFile -> byte[] -> InputStream). In another way to unzip this file using
commons-compress, sourceFile -> InputStream, throw Exception: Stream
is not in the BZip2 format, at org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream.init(
> Thank you in advance!

This message was sent by Atlassian JIRA

View raw message