You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Mathias Herberts (Jira)" <ji...@apache.org> on 2020/01/03 15:01:00 UTC
[jira] [Commented] (HADOOP-16786) Checksum FS #hsync does not sync
to disk
[ https://issues.apache.org/jira/browse/HADOOP-16786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17007546#comment-17007546 ]
Mathias Herberts commented on HADOOP-16786:
-------------------------------------------
Thanks Steve for your comment. As I stated I was using the Writer on the local file system, so was not pounding too heavily on HDFS.
Fixing the doc will save time for the future generations!
> Checksum FS #hsync does not sync to disk
> ----------------------------------------
>
> Key: HADOOP-16786
> URL: https://issues.apache.org/jira/browse/HADOOP-16786
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Mathias Herberts
> Priority: Major
>
> 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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org