hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10137) GeneralBulkAssigner with retain assignment plan can be used in EnableTableHandler to bulk assign the regions
Date Wed, 18 Dec 2013 05:27:13 GMT

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

Hudson commented on HBASE-10137:
--------------------------------

FAILURE: Integrated in HBase-TRUNK #4734 (See [https://builds.apache.org/job/HBase-TRUNK/4734/])
HBASE-10137 GeneralBulkAssigner with retain assignment plan can be used in EnableTableHandler
to bulk assign the regions (rajeshbabu: rev 1551797)
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/GeneralBulkAssigner.java
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.java
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/handler/EnableTableHandler.java
* /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java
* /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestAssignmentManager.java


> GeneralBulkAssigner with retain assignment plan can be used in EnableTableHandler to
bulk assign the regions
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-10137
>                 URL: https://issues.apache.org/jira/browse/HBASE-10137
>             Project: HBase
>          Issue Type: Bug
>          Components: Region Assignment
>    Affects Versions: 0.96.0, 0.94.14
>            Reporter: rajeshbabu
>            Assignee: rajeshbabu
>             Fix For: 0.98.0, 0.96.2, 0.99.0
>
>         Attachments: HBASE-10137.patch, HBASE-10137_v2.patch, HBASE-10137_v3.patch
>
>
> Current in BulkEnabler we are assigning one region at a time, instead we can use GeneralBulkAssigner
to bulk assign multiple regions at a time.
> {code}
>       for (HRegionInfo region : regions) {
>         if (assignmentManager.getRegionStates()
>             .isRegionInTransition(region)) {
>           continue;
>         }
>         final HRegionInfo hri = region;
>         pool.execute(Trace.wrap("BulkEnabler.populatePool",new Runnable() {
>           public void run() {
>             assignmentManager.assign(hri, true);
>           }
>         }));
>       }
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message