hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: Uber race between the balancer and parents that haven't been cleaned?
Date Wed, 25 Jan 2012 04:41:37 GMT
On Tue, Jan 24, 2012 at 5:28 PM, Jean-Daniel Cryans <jdcryans@apache.org> wrote:
> Right now it's possible to get split parents stuck in PENDING_CLOSE
> simply by trying to balance them. Looking over the 0.90 code, we don't
> remove the parent from AssignmentManager.servers until
> CatalogJanitor.cleanParent() calls AssignmentManager.regionOffline()
> BUT HMaster.balance() calls AssignmentManager.getAssignments() which
> uses AssignmentManager.servers.
>
> Basically the issue is that a parent is considered well and assigned
> until it gets cleaned up, which means that it's also considered during
> reassignment.
>

This is 0.90?  Not 0.92?

In 0.90, when we receive a split, the AM.handleSplit is called and it
seems to do right thing (remove parent from RIT, regions and servers
lists) so that it shouldn't be considered doing assignments.

St.Ack

Mime
View raw message