hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Liochon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11610) Enhance remote meta updates
Date Mon, 25 Aug 2014 09:10:58 GMT

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

Nicolas Liochon commented on HBASE-11610:

It's great that v3 is both simpler and more efficient!

I like the fact that all the complexity is put in a different class.

MultiHConnection should be annotated private
(nit)access to multiHConnection in #stop should be synchronized to be sure we see the last

is MultiHConnection that useful? I see its size is defaulted to 1? have you compare the performances
with greater values? Each Connection will come with a pool of 256 threads (there is HBASE-11590
to improve this a little), plus the one of MultiHConnection... As well, may be the TP in MultiHConnection
should be configurable independently of the HConnection TP (i.e. we should have some thing
like hbase.regionstatestore.meta.threads.max instead of hbase.hconnection.threads.max). But,
may be the simplest is just to remove all the MultiHConnection (less code to maintain...)

bq. return this.batchPool = tpe;
(nit) This would be more readable with two lines.

All these comments are more or less nit stuff. I like the patch.

> Enhance remote meta updates
> ---------------------------
>                 Key: HBASE-11610
>                 URL: https://issues.apache.org/jira/browse/HBASE-11610
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Jimmy Xiang
>            Assignee: Virag Kothari
>         Attachments: HBASE-11610.patch, HBASE-11610_2.patch, HBASE-11610_v3.patch
> Currently, if the meta region is on a regionserver instead of the master, meta update
is synchronized on one HTable instance. We should be able to do better.

This message was sent by Atlassian JIRA

View raw message