You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by gomes <sa...@gmail.com> on 2014/10/15 23:37:25 UTC

How to control number of regions that are moved during balance operation?

Currently when the load balancer runs, it returns a list of plans to
AssignmentManager, and it immediately executes all plans. It is very
disruptive for our operations. Is there anyway I can ask Assignment manager
to execute only few plans at a time? Once it finishes all smaller region
plans, it continues with next set of plans. 



--
View this message in context: http://apache-hbase.679495.n3.nabble.com/How-to-control-number-of-regions-that-are-moved-during-balance-operation-tp4065110.html
Sent from the HBase Developer mailing list archive at Nabble.com.

Re: How to control number of regions that are moved during balance operation?

Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
Hi Gomes,

Apart from what has already been replied (see Ted's link) you can do your
own balancer. Just extend the existing one, overwrite balanceCluster method
where you call the super but return only a subset of the returned list?

JM

2014-10-15 17:46 GMT-04:00 Ted Yu <yu...@gmail.com>:

> Cycling bits:
> http://search-hadoop.com/m/DHED4ZQTTZ1
>
> On Wed, Oct 15, 2014 at 2:37 PM, gomes <sa...@gmail.com> wrote:
>
> > Currently when the load balancer runs, it returns a list of plans to
> > AssignmentManager, and it immediately executes all plans. It is very
> > disruptive for our operations. Is there anyway I can ask Assignment
> manager
> > to execute only few plans at a time? Once it finishes all smaller region
> > plans, it continues with next set of plans.
> >
> >
> >
> > --
> > View this message in context:
> >
> http://apache-hbase.679495.n3.nabble.com/How-to-control-number-of-regions-that-are-moved-during-balance-operation-tp4065110.html
> > Sent from the HBase Developer mailing list archive at Nabble.com.
> >
>

Re: How to control number of regions that are moved during balance operation?

Posted by Ted Yu <yu...@gmail.com>.
Cycling bits:
http://search-hadoop.com/m/DHED4ZQTTZ1

On Wed, Oct 15, 2014 at 2:37 PM, gomes <sa...@gmail.com> wrote:

> Currently when the load balancer runs, it returns a list of plans to
> AssignmentManager, and it immediately executes all plans. It is very
> disruptive for our operations. Is there anyway I can ask Assignment manager
> to execute only few plans at a time? Once it finishes all smaller region
> plans, it continues with next set of plans.
>
>
>
> --
> View this message in context:
> http://apache-hbase.679495.n3.nabble.com/How-to-control-number-of-regions-that-are-moved-during-balance-operation-tp4065110.html
> Sent from the HBase Developer mailing list archive at Nabble.com.
>