hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-3507) requests count per HRegion and rebalance command
Date Fri, 11 Mar 2011 05:34:59 GMT

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

Ted Yu commented on HBASE-3507:
-------------------------------

I thought of adding setRequests() but didn't go that route.
There're two reasons:
1. Request for region comes in one by one normally. The setter isn't used.
2. When region splits, the request count goes half/half to daughter regions. It is intuitive
to assign the count in ctor.
I will upload another version which removes unnecessary changes in unit tests.

BTW unit tests pass on my Mac.

> requests count per HRegion and rebalance command
> ------------------------------------------------
>
>                 Key: HBASE-3507
>                 URL: https://issues.apache.org/jira/browse/HBASE-3507
>             Project: HBase
>          Issue Type: Improvement
>          Components: performance, regionserver
>            Reporter: Sebastian Bauer
>            Assignee: Ted Yu
>            Priority: Trivial
>         Attachments: hbase-3507-splitTxn.txt, hbase-requestsCount-2.patch, hbase-requestsCount-v2.patch,
hbase-requestsCount.patch
>
>
> Path-1 add another mertic for HRegion to count request made to region.
> Path-2 add another command to hbase shell to grab all regions, sort by requests from
Path-1 and move in round-robin algorithm to servers

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message