[
https://issues.apache.org/jira/browse/AVRO-3684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17643352#comment-17643352
]
Mikko Kortelainen commented on AVRO-3684:
-----------------------------------------
{code:java}
[INFO] Running org.apache.avro.TestDataFile
[ERROR] Tests run: 15, Failures: 0, Errors: 15, Skipped: 0, Time elapsed: 3.18
s <<< FAILURE! - in org.apache.avro.TestDataFile
[ERROR] org.apache.avro.TestDataFile.runTestsInOrder(CodecFactory)[1] Time
elapsed: 0.119 s <<< ERROR!
org.apache.avro.AvroRuntimeException: java.io.IOException: Block size invalid
or too large for this implementation: -49
at
org.apache.avro.file.DataFileStream.hasNextBlock(DataFileStream.java:312)
at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:224)
at org.apache.avro.TestDataFile.testAppendStream(TestDataFile.java:388)
at org.apache.avro.TestDataFile.runTestsInOrder(TestDataFile.java:110)
Caused by: java.io.IOException: Block size invalid or too large for this
implementation: -49
at
org.apache.avro.file.DataFileStream.hasNextBlock(DataFileStream.java:304)
... 137 more
[ERROR] org.apache.avro.TestDataFile.runTestsInOrder(CodecFactory)[2] Time
elapsed: 0.037 s <<< ERROR!
org.apache.avro.AvroRuntimeException: java.io.IOException: Invalid sync!
at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:236)
at org.apache.avro.TestDataFile.testAppendStream(TestDataFile.java:388)
at org.apache.avro.TestDataFile.runTestsInOrder(TestDataFile.java:110)
Caused by: java.io.IOException: Invalid sync!
at
org.apache.avro.file.DataFileStream.nextRawBlock(DataFileStream.java:331)
at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:225)
... 136 more
[ERROR] org.apache.avro.TestDataFile.runTestsInOrder(CodecFactory)[3] Time
elapsed: 0.03 s <<< ERROR!
org.apache.avro.AvroRuntimeException: java.io.IOException: Invalid sync!
at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:236)
at org.apache.avro.TestDataFile.testAppendStream(TestDataFile.java:388)
at org.apache.avro.TestDataFile.runTestsInOrder(TestDataFile.java:110)
Caused by: java.io.IOException: Invalid sync!
at
org.apache.avro.file.DataFileStream.nextRawBlock(DataFileStream.java:331)
at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:225)
... 136 more
[ERROR] org.apache.avro.TestDataFile.runTestsInOrder(CodecFactory)[4] Time
elapsed: 0.02 s <<< ERROR!
org.apache.avro.AvroRuntimeException: java.io.IOException: Invalid sync!
at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:236)
at org.apache.avro.TestDataFile.testAppendStream(TestDataFile.java:388)
at org.apache.avro.TestDataFile.runTestsInOrder(TestDataFile.java:110)
Caused by: java.io.IOException: Invalid sync!
at
org.apache.avro.file.DataFileStream.nextRawBlock(DataFileStream.java:331)
at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:225)
... 136 more
[ERROR] org.apache.avro.TestDataFile.runTestsInOrder(CodecFactory)[5] Time
elapsed: 0.016 s <<< ERROR!
org.apache.avro.AvroRuntimeException: java.io.IOException: Block size invalid
or too large for this implementation: -51
at
org.apache.avro.file.DataFileStream.hasNextBlock(DataFileStream.java:312)
at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:224)
at org.apache.avro.TestDataFile.testAppendStream(TestDataFile.java:388)
at org.apache.avro.TestDataFile.runTestsInOrder(TestDataFile.java:110)
Caused by: java.io.IOException: Block size invalid or too large for this
implementation: -51
at
org.apache.avro.file.DataFileStream.hasNextBlock(DataFileStream.java:304)
... 137 more
[ERROR] org.apache.avro.TestDataFile.runTestsInOrder(CodecFactory)[6] Time
elapsed: 0.016 s <<< ERROR!
org.apache.avro.AvroRuntimeException: java.io.IOException: Block size invalid
or too large for this implementation: -53
at
org.apache.avro.file.DataFileStream.hasNextBlock(DataFileStream.java:312)
at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:224)
at org.apache.avro.TestDataFile.testAppendStream(TestDataFile.java:388)
at org.apache.avro.TestDataFile.runTestsInOrder(TestDataFile.java:110)
Caused by: java.io.IOException: Block size invalid or too large for this
implementation: -53
at
org.apache.avro.file.DataFileStream.hasNextBlock(DataFileStream.java:304)
... 137 more
[ERROR] org.apache.avro.TestDataFile.runTestsInOrder(CodecFactory)[7] Time
elapsed: 0.457 s <<< ERROR!
org.apache.avro.AvroRuntimeException: java.io.IOException: Invalid sync!
at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:236)
at org.apache.avro.TestDataFile.testAppendStream(TestDataFile.java:388)
at org.apache.avro.TestDataFile.runTestsInOrder(TestDataFile.java:110)
Caused by: java.io.IOException: Invalid sync!
at
org.apache.avro.file.DataFileStream.nextRawBlock(DataFileStream.java:331)
at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:225)
... 136 more
[ERROR] org.apache.avro.TestDataFile.runTestsInOrder(CodecFactory)[8] Time
elapsed: 0.358 s <<< ERROR!
org.apache.avro.AvroRuntimeException: java.io.IOException: Invalid sync!
at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:236)
at org.apache.avro.TestDataFile.testAppendStream(TestDataFile.java:388)
at org.apache.avro.TestDataFile.runTestsInOrder(TestDataFile.java:110)
Caused by: java.io.IOException: Invalid sync!
at
org.apache.avro.file.DataFileStream.nextRawBlock(DataFileStream.java:331)
at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:225)
... 136 more
[ERROR] org.apache.avro.TestDataFile.runTestsInOrder(CodecFactory)[9] Time
elapsed: 0.593 s <<< ERROR!
org.apache.avro.AvroRuntimeException: java.io.IOException: Invalid sync!
at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:236)
at org.apache.avro.TestDataFile.testAppendStream(TestDataFile.java:388)
at org.apache.avro.TestDataFile.runTestsInOrder(TestDataFile.java:110)
Caused by: java.io.IOException: Invalid sync!
at
org.apache.avro.file.DataFileStream.nextRawBlock(DataFileStream.java:331)
at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:225)
... 136 more
[ERROR] org.apache.avro.TestDataFile.runTestsInOrder(CodecFactory)[10] Time
elapsed: 0.037 s <<< ERROR!
org.apache.avro.AvroRuntimeException: java.io.IOException: Block size invalid
or too large for this implementation: -51
at
org.apache.avro.file.DataFileStream.hasNextBlock(DataFileStream.java:312)
at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:224)
at org.apache.avro.TestDataFile.testAppendStream(TestDataFile.java:388)
at org.apache.avro.TestDataFile.runTestsInOrder(TestDataFile.java:110)
Caused by: java.io.IOException: Block size invalid or too large for this
implementation: -51
at
org.apache.avro.file.DataFileStream.hasNextBlock(DataFileStream.java:304)
... 137 more
[ERROR] org.apache.avro.TestDataFile.runTestsInOrder(CodecFactory)[11] Time
elapsed: 0.03 s <<< ERROR!
org.apache.avro.AvroRuntimeException: java.io.IOException: Block size invalid
or too large for this implementation: -29
at
org.apache.avro.file.DataFileStream.hasNextBlock(DataFileStream.java:312)
at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:224)
at org.apache.avro.TestDataFile.testAppendStream(TestDataFile.java:388)
at org.apache.avro.TestDataFile.runTestsInOrder(TestDataFile.java:110)
Caused by: java.io.IOException: Block size invalid or too large for this
implementation: -29
at
org.apache.avro.file.DataFileStream.hasNextBlock(DataFileStream.java:304)
... 137 more
[ERROR] org.apache.avro.TestDataFile.runTestsInOrder(CodecFactory)[12] Time
elapsed: 0.031 s <<< ERROR!
org.apache.avro.AvroRuntimeException: java.io.IOException: Block size invalid
or too large for this implementation: -51
at
org.apache.avro.file.DataFileStream.hasNextBlock(DataFileStream.java:312)
at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:224)
at org.apache.avro.TestDataFile.testAppendStream(TestDataFile.java:388)
at org.apache.avro.TestDataFile.runTestsInOrder(TestDataFile.java:110)
Caused by: java.io.IOException: Block size invalid or too large for this
implementation: -51
at
org.apache.avro.file.DataFileStream.hasNextBlock(DataFileStream.java:304)
... 137 more
[ERROR] org.apache.avro.TestDataFile.runTestsInOrder(CodecFactory)[13] Time
elapsed: 1.127 s <<< ERROR!
org.apache.avro.AvroRuntimeException: java.io.IOException: Block size invalid
or too large for this implementation: -29
at
org.apache.avro.file.DataFileStream.hasNextBlock(DataFileStream.java:312)
at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:224)
at org.apache.avro.TestDataFile.testAppendStream(TestDataFile.java:388)
at org.apache.avro.TestDataFile.runTestsInOrder(TestDataFile.java:110)
Caused by: java.io.IOException: Block size invalid or too large for this
implementation: -29
at
org.apache.avro.file.DataFileStream.hasNextBlock(DataFileStream.java:304)
... 137 more
[ERROR] org.apache.avro.TestDataFile.runTestsInOrder(CodecFactory)[14] Time
elapsed: 0.015 s <<< ERROR!
org.apache.avro.AvroRuntimeException: java.io.IOException: Block size invalid
or too large for this implementation: -51
at
org.apache.avro.file.DataFileStream.hasNextBlock(DataFileStream.java:312)
at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:224)
at org.apache.avro.TestDataFile.testAppendStream(TestDataFile.java:388)
at org.apache.avro.TestDataFile.runTestsInOrder(TestDataFile.java:110)
Caused by: java.io.IOException: Block size invalid or too large for this
implementation: -51
at
org.apache.avro.file.DataFileStream.hasNextBlock(DataFileStream.java:304)
... 137 more
[ERROR] org.apache.avro.TestDataFile.runTestsInOrder(CodecFactory)[15] Time
elapsed: 0.017 s <<< ERROR!
org.apache.avro.AvroRuntimeException: java.io.IOException: Block size invalid
or too large for this implementation: -51
at
org.apache.avro.file.DataFileStream.hasNextBlock(DataFileStream.java:312)
at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:224)
at org.apache.avro.TestDataFile.testAppendStream(TestDataFile.java:388)
at org.apache.avro.TestDataFile.runTestsInOrder(TestDataFile.java:110)
Caused by: java.io.IOException: Block size invalid or too large for this
implementation: -51
at
org.apache.avro.file.DataFileStream.hasNextBlock(DataFileStream.java:304)
... 137 more
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] TestDataFile.runTestsInOrder:110->testAppendStream:388 » AvroRuntime
java.io.IOException: Block size invalid or too large for this implementation
: -51
[ERROR] TestDataFile.runTestsInOrder:110->testAppendStream:388 » AvroRuntime
java.io.IOException: Block size invalid or too large for this implementation
: -29
[ERROR] TestDataFile.runTestsInOrder:110->testAppendStream:388 » AvroRuntime
java.io.IOException: Block size invalid or too large for this implementation
: -51
[ERROR] TestDataFile.runTestsInOrder:110->testAppendStream:388 » AvroRuntime
java.io.IOException: Block size invalid or too large for this implementation
: -29
[ERROR] TestDataFile.runTestsInOrder:110->testAppendStream:388 » AvroRuntime
java.io.IOException: Block size invalid or too large for this implementation
: -51
[ERROR] TestDataFile.runTestsInOrder:110->testAppendStream:388 » AvroRuntime
java.io.IOException: Block size invalid or too large for this implementation
: -51
[ERROR] TestDataFile.runTestsInOrder:110->testAppendStream:388 » AvroRuntime
java.io.IOException: Block size invalid or too large for this implementation
: -49
[ERROR] TestDataFile.runTestsInOrder:110->testAppendStream:388 » AvroRuntime
java.io.IOException: Invalid sync!
[ERROR] TestDataFile.runTestsInOrder:110->testAppendStream:388 » AvroRuntime
java.io.IOException: Invalid sync!
[ERROR] TestDataFile.runTestsInOrder:110->testAppendStream:388 » AvroRuntime
java.io.IOException: Invalid sync!
[ERROR] TestDataFile.runTestsInOrder:110->testAppendStream:388 » AvroRuntime
java.io.IOException: Block size invalid or too large for this implementation
: -51
[ERROR] TestDataFile.runTestsInOrder:110->testAppendStream:388 » AvroRuntime
java.io.IOException: Block size invalid or too large for this implementation
: -53
[ERROR] TestDataFile.runTestsInOrder:110->testAppendStream:388 » AvroRuntime
java.io.IOException: Invalid sync!
[ERROR] TestDataFile.runTestsInOrder:110->testAppendStream:388 » AvroRuntime
java.io.IOException: Invalid sync!
[ERROR] TestDataFile.runTestsInOrder:110->testAppendStream:388 » AvroRuntime
java.io.IOException: Invalid sync!
[INFO]
[ERROR] Tests run: 15, Failures: 0, Errors: 15, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Avro Toplevel 1.12.0-SNAPSHOT:
[INFO]
[INFO] Apache Avro Toplevel ............................... SUCCESS [ 1.520 s]
[INFO] Apache Avro Java ................................... SUCCESS [ 1.199 s]
[INFO] Apache Avro ........................................ FAILURE [ 10.901 s]
{code}
> appending to existing file with outputstream not working
> --------------------------------------------------------
>
> Key: AVRO-3684
> URL: https://issues.apache.org/jira/browse/AVRO-3684
> Project: Apache Avro
> Issue Type: Bug
> Reporter: Mikko Kortelainen
> Priority: Major
>
> appending to existing file with outputstream not working
>
> i created a test case at [https://github.com/apache/avro/pull/2000/files] for
> the reference. If this is an incorrect way then please redirect to
> documentation or if no such thing exist, please link to existing working
> example or test case.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)