You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jim Kellerman (JIRA)" <ji...@apache.org> on 2009/02/05 09:02:00 UTC

[jira] Issue Comment Edited: (HBASE-1155) HLog flush does not invoke FSDataOutputStream.flush()

    [ https://issues.apache.org/jira/browse/HBASE-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667888#action_12667888 ] 

jimk edited comment on HBASE-1155 at 2/5/09 12:01 AM:
---------------------------------------------------------------

The latest patch for HADOOP-4379 combined with HADOOP-5027seems to solve the problems that we have seen. As for Doug Judd's problem with getting the length of the file, that is not an issue for HBase, as we do not look at the length of the file.

We need more testing to confirm.

      was (Author: jimk):
    The latest patch for HADOOP-4379 combined with HADOOP-5027solves the problems that we have seen. As for Doug Judd's problem with getting the length of the file, that is not an issue for HBase, as we do not look at the length of the file.
  
> HLog flush does not invoke FSDataOutputStream.flush()
> -----------------------------------------------------
>
>                 Key: HBASE-1155
>                 URL: https://issues.apache.org/jira/browse/HBASE-1155
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: master, regionserver
>    Affects Versions: 0.19.0
>            Reporter: Jim Kellerman
>            Assignee: Jim Kellerman
>             Fix For: 0.19.1, 0.20.0
>
>
> In order to guarantee that an HLog sync() flushes the data to the HDFS, we will need to invoke FSDataOutputStream.sync() per HADOOP-4379.
> Currently, there is no access to the underlying FSDataOutputStream from SequenceFile.Writer, as it is a package private member.
> Waiting on HADOOP-4379 to see how this plays out.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.