[
https://issues.apache.org/jira/browse/AVRO-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Doug Cutting updated AVRO-1388:
-------------------------------
Attachment: AVRO-1388.patch
This is really close.
The append-based test fails for me using JDK 7 because it relies on an earlier
test to generate the files, but in JDK 7, tests are no longer run in the order
they are defined. Rather, this must be called from runTestsInOrder().
Also, I slightly prefer the name fSync() for the new DataFileWriter method,
instead of syncFs().
Here's a version of the patch that makes these two changes. Does this look
reasonable to you? If so, I'll commit it.
> Avro container files should allow fsync-ing files to disk
> ---------------------------------------------------------
>
> Key: AVRO-1388
> URL: https://issues.apache.org/jira/browse/AVRO-1388
> Project: Avro
> Issue Type: Bug
> Reporter: Hari Shreedharan
> Assignee: Hari Shreedharan
> Attachments: AVRO-1388-2.patch, AVRO-1388.patch, AVRO-1388.patch
>
>
> Another feature we require in Avro data files in addition to AVRO-1387 is
> that we be able to fsync the files to disk. Currently we cannot do this, but
> this can be achieved without API changes. If there are no objections, I will
> submit a patch
--
This message was sent by Atlassian JIRA
(v6.1#6144)