[
https://issues.apache.org/jira/browse/AVRO-3684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17643345#comment-17643345
]
Christophe Le Saec commented on AVRO-3684:
------------------------------------------
Could you details the error you get with this test ?
Could you put closeable instance in try section on unit test code ?
{code:java}
try (DataFileWriter<Object> writer = new DataFileWriter<>(datumWriter);
RandomAccessFile raf = new RandomAccessFile(file, "rw");
SyncableFileOutputStream fileOutputStream = new
SyncableFileOutputStream(raf.getFD())) {
...
}
{code}
_(same for 2 next try section)_
> 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)