I filed https://issues.apache.org/jira/browse/HBASE-6143 a while ago.

Basically there are three methods on the balancer.  One that does a
real and true balance.  There are two others that are used for quick
assignment.  Those two don't take into account all of the balancing
rules and locality info.  We should really consolidate everything into
one method that has some idea of time given.

The preferred nodes stuff is good but it's really breaking the
contract of what the method names say they will do.  So we should just
make everything named well and use the same code path.  I'm currently
off on tracing (spoilers it's awesome) right now but I plan to help
finish of the polishing of the balancer shortly.

On Mon, Jul 22, 2013 at 11:55 AM, lars hofhansl <la...@apache.org> wrote:
> I faintly remember there was a jira that attempted to assign the regions to 
> the same region servers after a restart based on existing .META. information 
> (if possible).
> Will try to find that and see why it is not working as expected.
>
>
> -- Lars
>
>
>
> ________________________________
>  From: Vladimir Rodionov <vrodio...@carrieriq.com>
> To: "dev@hbase.apache.org" <dev@hbase.apache.org>
> Sent: Monday, July 22, 2013 11:43 AM
> Subject: RE: Smarter Region assignment policy?
>
>
> Yes, its related but not what I am looking for.
>
> Locality index is approaching to 100% after major compaction of all tables. 
> Its often > 90% during regular operation of a cluster,
> but is far below 50% when cluster restarts. Can assignment manager take into 
> account previous region assignments on
> node/cluster start up? That is what I am looking for. How hard is to 
> implement this feature?
>
> Best regards,
> Vladimir Rodionov
> Principal Platform Engineer
> Carrier IQ, www.carrieriq.com
> e-mail: vrodio...@carrieriq.com
>
> ________________________________________
> From: Ted Yu [yuzhih...@gmail.com]
> Sent: Monday, July 22, 2013 11:06 AM
> To: dev@hbase.apache.org
> Subject: Re: Smarter Region assignment policy?
>
> Please take a look at https://issues.apache.org/jira/browse/HBASE-4755
>
> On Mon, Jul 22, 2013 at 10:56 AM, Vladimir Rodionov <vrodio...@carrieriq.com
>> wrote:
>
>> It seems that current (0.94.6) region assignment on start up policy is not
>> that smart and does not utilize hdfs block locality
>> Are there any open HBase JIRA ticket(s) that addresses the issue?
>>
>> Best regards,
>> Vladimir Rodionov
>> Principal Platform Engineer
>> Carrier IQ, www.carrieriq.com
>> e-mail: vrodio...@carrieriq.com
>>
>>
>> Confidentiality Notice:  The information contained in this message,
>> including any attachments hereto, may be confidential and is intended to be
>> read only by the individual or entity to whom this message is addressed. If
>> the reader of this message is not the intended recipient or an agent or
>> designee of the intended recipient, please note that any review, use,
>> disclosure or distribution of this message or its attachments, in any form,
>> is strictly prohibited.  If you have received this message in error, please
>> immediately notify the sender and/or notificati...@carrieriq.com and
>> delete or destroy any copy of this message and its attachments.
>>
>
> Confidentiality Notice:  The information contained in this message, including 
> any attachments hereto, may be confidential and is intended to be read only 
> by the individual or entity to whom this message is addressed. If the reader 
> of this message is not the intended recipient or an agent or designee of the 
> intended recipient, please note that any review, use, disclosure or 
> distribution of this message or its attachments, in any form, is strictly 
> prohibited.  If you have received this message in error, please immediately 
> notify the sender and/or notificati...@carrieriq.com and delete or destroy 
> any copy of this message and its attachments.

Reply via email to