beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-422) AvroSource hits various IOException when using Snappy codec
Date Wed, 06 Jul 2016 16:08:11 GMT

    [ https://issues.apache.org/jira/browse/BEAM-422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15364529#comment-15364529
] 

ASF GitHub Bot commented on BEAM-422:
-------------------------------------

Github user dhalperi closed the pull request at:

    https://github.com/apache/incubator-beam/pull/583


> AvroSource hits various IOException when using Snappy codec
> -----------------------------------------------------------
>
>                 Key: BEAM-422
>                 URL: https://issues.apache.org/jira/browse/BEAM-422
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>    Affects Versions: 0.1.0-incubating, 0.2.0-incubating
>            Reporter: Daniel Halperin
>            Assignee: Daniel Halperin
>
> Example:
> {code}
> Caused by:java.io.IOException: Offset is larger than block size at org.apache.commons.compress.compressors.snappy.SnappyCompressorInputStream.expandCopy(SnappyCompressorInputStream.java:338)
at org.apache.commons.compress.compressors.snappy.SnappyCompressorInputStream.fill(SnappyCompressorInputStream.java:209)
at org.apache.commons.compress.compressors.snappy.SnappyCompressorInputStream.read(SnappyCompressorInputStream.java:134)
atorg.apache.avro.io.BinaryDecoder$InputStreamByteSource.tryReadRaw(BinaryDecoder.java:839)
atorg.apache.avro.io.BinaryDecoder$ByteSource.compactAndFill(BinaryDecoder.java:692) atorg.apache.avro.io.BinaryDecoder.ensureBounds(BinaryDecoder.java:471)
atorg.apache.avro.io.BinaryDecoder.readInt(BinaryDecoder.java:128) atorg.apache.avro.io.BinaryDecoder.readIndex(BinaryDecoder.java:423)
atorg.apache.avro.io.ResolvingDecoder.doAction(ResolvingDecoder.java:290) atorg.apache.avro.io.parsing.Parser.advance(Parser.java:88)
atorg.apache.avro.io.ResolvingDecoder.readIndex(ResolvingDecoder.java:267) at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:155)
at org.apache.avro.generic.GenericDatumReader.readField(GenericDatumReader.java:193) at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:183)
at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:151) at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:142)

> {code}



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

Mime
View raw message