You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Mike Percy (JIRA)" <ji...@apache.org> on 2012/09/20 10:45:07 UTC

[jira] [Comment Edited] (FLUME-1595) HDFS SequenceFile implementation is not durable due to not using syncFs()

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

Mike Percy edited comment on FLUME-1595 at 9/20/12 7:43 PM:
------------------------------------------------------------

http://hadoop.apache.org/docs/r1.0.3/api/org/apache/hadoop/io/SequenceFile.Writer.html#sync() creates a sync point. http://hadoop.apache.org/docs/r1.0.3/api/org/apache/hadoop/io/SequenceFile.Writer.html#syncFs() flushes the data to the FS.
                
      was (Author: mpercy):
    [http://hadoop.apache.org/docs/r1.0.3/api/org/apache/hadoop/io/SequenceFile.Writer.html#sync()|SequenceFile.Writer.sync()] creates a sync point. [http://hadoop.apache.org/docs/r1.0.3/api/org/apache/hadoop/io/SequenceFile.Writer.html#syncFs()|SequenceFile.Writer.syncFs()] flushes the data to the FS.
                  
> HDFS SequenceFile implementation is not durable due to not using syncFs()
> -------------------------------------------------------------------------
>
>                 Key: FLUME-1595
>                 URL: https://issues.apache.org/jira/browse/FLUME-1595
>             Project: Flume
>          Issue Type: Bug
>    Affects Versions: v1.2.0
>            Reporter: Mike Percy
>             Fix For: v1.3.0
>
>         Attachments: FLUME-1595-1.patch
>
>
> HDFS SequenceFile implementation uses sync() instead of syncFs()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira