hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12130) HBASE-11980 calls hflush and hsync doing near double the syncing work
Date Wed, 01 Oct 2014 20:25:34 GMT

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

Lars Hofhansl commented on HBASE-12130:
---------------------------------------

OK. The patch makes it optional. Cool. :)

In order for hsync to work correctly we need to open the outstream with the sync flag otherwise
as an HDFS block is closed it is not sync'ed to disk. We cannot 100% guarantee that an HLog
is not going to span mutliple HDFS blocks, so we need to do that as well.
For that see HDFS-744.

I'd just stick with the hflush for now.


> HBASE-11980 calls hflush and hsync doing near double the syncing work
> ---------------------------------------------------------------------
>
>                 Key: HBASE-12130
>                 URL: https://issues.apache.org/jira/browse/HBASE-12130
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0, 0.99.1
>            Reporter: stack
>            Assignee: stack
>            Priority: Critical
>         Attachments: 12130.txt, Screen Shot 2014-09-30 at 9.17.09 PM.png
>
>
> The HBASE-11980 change has us doing hflush and hsync every time we call sync (noticed
profiling).  Fix.  Let me expose as config calling one or the other. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message