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-7216) sync hlog writer just after create it, so trigger addBlock and establish write pipeline before the first hlog sync
Date Mon, 26 Nov 2012 05:32:59 GMT

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

Lars Hofhansl commented on HBASE-7216:
--------------------------------------

Reasoning sounds good to me.

Do you have some benchmark numbers by any chance [~aoxiang]?

                
> sync hlog writer just after create it, so trigger addBlock and establish write pipeline
before the first hlog sync
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-7216
>                 URL: https://issues.apache.org/jira/browse/HBASE-7216
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: binlijin
>         Attachments: HBASE-7216-94.patch, HBASE-7216.patch
>
>
> Current when hlog rollWriter:
> (1)createWriter will call ClientProtocol.create
> (2)first hlog sync will trigger ClientProtocol.addBlock and establish write pipeline

> we can sync the outputstream to force trigger ClientProtocol.addBlock and establish write
pipeline before the first hlog sync 

--
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

Mime
View raw message