accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Newton <eric.new...@gmail.com>
Subject Re: Custom TabletBalancer
Date Tue, 29 Apr 2014 13:44:43 GMT
An instance of TabletBalancer has two basic modes: assignment and balancing.

Assignment is done when a tablet is offline, typically at start-up or
recovery.

Balancing is done periodically.  If you want to move tablets around after
they are hosted, you will need to override the balance method.

-Eric



On Sat, Apr 26, 2014 at 11:18 AM, BlackJack76 <justin.loy@gmail.com> wrote:

> Follow up to myself....
>
> I was previously using my custom TabletBalancer as the
> master.tablet.balancer.  However, when I use the TableLoadBalancer as the
> master.tablet.balancer and use my custom balancer in table.balancer then
> everything makes more sense.  getAssignments now never seems to be called
> when the unassigned map size is 0.
>
> The problem I have now is that when I create the table then getAssignments
> is called with one tablet.  Next, I perform the splits (which splits it
> into
> 32 tablets).  getAssignments is never called for these splits so I don't
> have a chance to assign the tablets to a particular tablet server.
>
> Again, if anyone has any thoughts please let me know.  Thanks in advance!
>
>
>
> --
> View this message in context:
> http://apache-accumulo.1065345.n5.nabble.com/Custom-TabletBalancer-tp9425p9426.html
> Sent from the Users mailing list archive at Nabble.com.
>

Mime
View raw message