You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Mathias Herberts (Jira)" <ji...@apache.org> on 2020/01/03 11:03:00 UTC
[jira] [Created] (HADOOP-16786) SequenceFile.Writer#hsync does not
sync to disk when checksums are used
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: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org