Mathias Herberts created HADOOP-16786:
-----------------------------------------
Summary: SequenceFile.Writer#hsync does not sync to disk when
checksums are used
Key: HADOOP-16786
URL: https://issues.apache.org/jira/browse/HADOOP-16786
Project: Hadoop Common
Issue Type: Bug
Reporter: Mathias Herberts
Recently I created a SequenceFile Writer and was surprised to see that the file
size was not changing despite hsync being called after each append.
After some fiddling around, I noticed that if write checksums are disabled then
the hsync is effective.
I checked the documentation and could not find any mention of the fact that
hsync could be ineffective when write checksums are on.
The Writer was using the LocalFilesystem.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]