[
https://issues.apache.org/jira/browse/HADOOP-7844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14355099#comment-14355099
]
JR commented on HADOOP-7844:
----------------------------
This issue appears fixed as of March, 2012 with the patches committed in
HADOOP-8861, since LocalFileSystem wraps RawLocalFileSystem. When those fixes
went in (and sync() came out of Syncable) it fixed this issue.
> Flush/sync do not work on Hadoop LocalFileSystem
> ------------------------------------------------
>
> Key: HADOOP-7844
> URL: https://issues.apache.org/jira/browse/HADOOP-7844
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 0.20.1
> Reporter: Nathan Marz
>
> They seem to be no-ops. This is really easy to reproduce, just open a file
> using FileSystem/getLocal(new Configuration()), write data to the output
> stream, and then try to flush/sync. I also tried creating the output stream
> with a buffer size of 1, but that had no effect.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)