commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Allison (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COMPRESS-358) Offset is larger than block size in IWA dialect of FramedSnappyCompressorInputStream
Date Wed, 22 Jun 2016 19:46:16 GMT

     [ https://issues.apache.org/jira/browse/COMPRESS-358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tim Allison updated COMPRESS-358:
---------------------------------
    Description: 
I finally was able to run the FramedSnappyCompressorInputStreamon a larger number of .iwa
files.  I got the following on two files:
{noformat}
java.io.IOException: Offset is larger than block size
	at org.apache.commons.compress.compressors.snappy.SnappyCompressorInputStream.expandCopy(SnappyCompressorInputStream.java:341)
	at org.apache.commons.compress.compressors.snappy.SnappyCompressorInputStream.fill(SnappyCompressorInputStream.java:212)
	at org.apache.commons.compress.compressors.snappy.SnappyCompressorInputStream.read(SnappyCompressorInputStream.java:134)
	at org.apache.commons.compress.compressors.snappy.FramedSnappyCompressorInputStream.readOnce(FramedSnappyCompressorInputStream.java:166)
	at org.apache.commons.compress.compressors.snappy.FramedSnappyCompressorInputStream.read(FramedSnappyCompressorInputStream.java:122)
	at java.io.InputStream.read(InputStream.java:101)
	at java.nio.file.Files.copy(Files.java:2908)
	at java.nio.file.Files.copy(Files.java:3027)
{noformat}

No good deed goes unpunished... :)  Thank you, again!

  was:
I finally was able to run the SnappyDecompressingInputStream on a larger number of .iwa files.
 I got the following on two files:
{noformat}
java.io.IOException: Offset is larger than block size
	at org.apache.commons.compress.compressors.snappy.SnappyCompressorInputStream.expandCopy(SnappyCompressorInputStream.java:341)
	at org.apache.commons.compress.compressors.snappy.SnappyCompressorInputStream.fill(SnappyCompressorInputStream.java:212)
	at org.apache.commons.compress.compressors.snappy.SnappyCompressorInputStream.read(SnappyCompressorInputStream.java:134)
	at org.apache.commons.compress.compressors.snappy.FramedSnappyCompressorInputStream.readOnce(FramedSnappyCompressorInputStream.java:166)
	at org.apache.commons.compress.compressors.snappy.FramedSnappyCompressorInputStream.read(FramedSnappyCompressorInputStream.java:122)
	at java.io.InputStream.read(InputStream.java:101)
	at java.nio.file.Files.copy(Files.java:2908)
	at java.nio.file.Files.copy(Files.java:3027)
{noformat}

No good deed goes unpunished... :)  Thank you, again!


> Offset is larger than block size in IWA dialect of FramedSnappyCompressorInputStream
> ------------------------------------------------------------------------------------
>
>                 Key: COMPRESS-358
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-358
>             Project: Commons Compress
>          Issue Type: Bug
>          Components: Compressors
>    Affects Versions: 1.12
>            Reporter: Tim Allison
>            Priority: Trivial
>
> I finally was able to run the FramedSnappyCompressorInputStreamon a larger number of
.iwa files.  I got the following on two files:
> {noformat}
> java.io.IOException: Offset is larger than block size
> 	at org.apache.commons.compress.compressors.snappy.SnappyCompressorInputStream.expandCopy(SnappyCompressorInputStream.java:341)
> 	at org.apache.commons.compress.compressors.snappy.SnappyCompressorInputStream.fill(SnappyCompressorInputStream.java:212)
> 	at org.apache.commons.compress.compressors.snappy.SnappyCompressorInputStream.read(SnappyCompressorInputStream.java:134)
> 	at org.apache.commons.compress.compressors.snappy.FramedSnappyCompressorInputStream.readOnce(FramedSnappyCompressorInputStream.java:166)
> 	at org.apache.commons.compress.compressors.snappy.FramedSnappyCompressorInputStream.read(FramedSnappyCompressorInputStream.java:122)
> 	at java.io.InputStream.read(InputStream.java:101)
> 	at java.nio.file.Files.copy(Files.java:2908)
> 	at java.nio.file.Files.copy(Files.java:3027)
> {noformat}
> No good deed goes unpunished... :)  Thank you, again!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message