You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hairong Kuang (JIRA)" <ji...@apache.org> on 2011/01/07 23:57:48 UTC

[jira] Updated: (HBASE-3285) Hlog recovery takes too much time

     [ https://issues.apache.org/jira/browse/HBASE-3285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hairong Kuang updated HBASE-3285:
---------------------------------

    Attachment: hbaseRecoverHLog.patch

Here is the patch that uses the new recoverLease API to recover HLog.

I assume that CDH will pull in the HADOOP recoverLease change into their distribution.

> Hlog recovery takes too much time
> ---------------------------------
>
>                 Key: HBASE-3285
>                 URL: https://issues.apache.org/jira/browse/HBASE-3285
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>         Attachments: hbaseRecoverHLog.patch
>
>
> Currently HBase uses append to trigger the close of HLog during Hlog split. Append is a very expensive operation, which involves not only NameNode operations but creating a writing pipeline. If one of datanodes on the pipeline has a problem, this recovery may takes minutes. I'd like implement a lightweight NameNode operation to trigger lease recovery and make HBase to use this instead.

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