[jira] [Commented] (COMPRESS-161) bzip2 decompression terminates after 900000 bytes
[ https://issues.apache.org/jira/browse/COMPRESS-161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13146333#comment-13146333 ] Hans horn commented on COMPRESS-161: Stefan, I had not bothered looking too closely at the errors I was getting. If I had, I'd noticed that I had not provided org.tukaani. Now with org.tukaani, there're no more problems with common compress xz Wrt patches for parallel bzip2: I don't understand enough of the subject matter to be able to contribute. Greets, H. bzip2 decompression terminates after 90 bytes - Key: COMPRESS-161 URL: https://issues.apache.org/jira/browse/COMPRESS-161 Project: Commons Compress Issue Type: Bug Components: Compressors Affects Versions: 1.3 Environment: Windows7 64bit JDK7u1,2 Reporter: Hans horn Priority: Critical Fix For: 1.4 Attachments: INT1_aminey.inp.bz2 bzip2 decompression terminates (w/o error) after 90 bytes try { InputStream iin = new BZip2CompressorInputStream(new FileInputStream(bzip2 compressed file that was uncompressed 90 bytes in size); int data = iin.read(); while (data != -1) { System.out.print((char) data); ++nBytes; data = iin.read(); } } catch (IOException iox) { /**/ } System.out.println(#Bytes read + nBytes); prints: #Bytes read 90 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (COMPRESS-161) bzip2 decompression terminates after 900000 bytes
[ https://issues.apache.org/jira/browse/COMPRESS-161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13145574#comment-13145574 ] Hans horn commented on COMPRESS-161: Stefan, I probably compressed it using cygwin's pbzip2 in August when I started to run out of disk space. I just unpacked that file and repacked it using the non-parallel version of cygwin bzip2 and it decompresses just fine with Commons Compress! Nice catch, Stefan What now? I've got about 500GB of stuff compressed that way, that has become inaccessible to Java. Are there any plans to support multiple concatenated streams in Commons Compress in the not so distant future? Thx., H. bzip2 decompression terminates after 90 bytes - Key: COMPRESS-161 URL: https://issues.apache.org/jira/browse/COMPRESS-161 Project: Commons Compress Issue Type: Bug Components: Compressors Affects Versions: 1.3 Environment: Windows7 64bit JDK7u1,2 Reporter: Hans horn Priority: Critical Fix For: 1.3 Attachments: INT1_aminey.inp.bz2 bzip2 decompression terminates (w/o error) after 90 bytes try { InputStream iin = new BZip2CompressorInputStream(new FileInputStream(bzip2 compressed file that was uncompressed 90 bytes in size); int data = iin.read(); while (data != -1) { System.out.print((char) data); ++nBytes; data = iin.read(); } } catch (IOException iox) { /**/ } System.out.println(#Bytes read + nBytes); prints: #Bytes read 90 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira