[ 
https://issues.apache.org/jira/browse/HDFS-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13145097#comment-13145097
 ] 

Uma Maheswara Rao G commented on HDFS-989:
------------------------------------------

Hi Nathan, Even though we fix the above problem, we can not flush the bytes 
less than LOCAL_FS_BYTES_PER_CHECKSUM_KEY. Because LocalFileSystem is checksum 
file system. by default the value is 512 bytes. It maintains the data in 
internal buffers till then.

Thanks
Uma
                
> Flush/sync do not work on Hadoop LocalFileSystem
> ------------------------------------------------
>
>                 Key: HDFS-989
>                 URL: https://issues.apache.org/jira/browse/HDFS-989
>             Project: Hadoop HDFS
>          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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to