[
https://issues.apache.org/jira/browse/AVRO-407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12830442#action_12830442
]
Philip Zeyliger commented on AVRO-407:
--------------------------------------
Patch looks correct. (I was a bit worried about this in
https://issues.apache.org/jira/browse/AVRO-380?focusedCommentId=12806025&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12806025,
but failed to write a unit test to convince myself.)
Please do add a unit test that triggers this.
-- Philip
> java data interop tests fail
> ----------------------------
>
> Key: AVRO-407
> URL: https://issues.apache.org/jira/browse/AVRO-407
> Project: Avro
> Issue Type: Bug
> Components: java
> Reporter: Doug Cutting
> Priority: Blocker
> Fix For: 1.3.0
>
> Attachments: AVRO-407.patch
>
>
> Java data file interop tests currently fail.
> If you run: cd lang/java; ant interop-data-generate interop-data-test
> Then the test log shows:
> java.io.IOException: Incomplete Block
> org.apache.avro.AvroRuntimeException: java.io.IOException: Incomplete Block
> at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:169)
> at org.apache.avro.TestDataFile.readFile(TestDataFile.java:193)
> at
> org.apache.avro.TestDataFile$InteropTest.readFiles(TestDataFile.java:238)
> at
> org.apache.avro.TestDataFile$InteropTest.testGeneratedGeneric(TestDataFile.java:216)
> Caused by: java.io.IOException: Incomplete Block
> at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:161)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.