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

stack commented on HBASE-1868:
------------------------------

Working with Cheddar over in IRC, he figured what was up here.  Down in 
assignRegionsToMultipleServers, if nRegions == nRegionsToAssign, we don't 
assign.

It also looks like if nRegion > nRegionsToAssign, we have same issue:

{code}
22:28 < cheddar> LOL, St^Ack, the plot thickens, my master is now in a loop with
22:28 < cheddar> 09/09/29 22:28:35 DEBUG master.RegionManager: Assigning for 
address: 10.18.52.61:60020, startcode: 1254261590467, load: (requests=0,
                 regions=37, usedHeap=134, maxHeap=2009): total nregions to 
assign=2, nregions to reach balance=6, isMetaAssign=false
22:29 < cheddar> so, it's not just when nRegionsToAssign == nregions, but also 
when nregions > nRegionsToAssign
{code}

> Spew about rebalancing but none done....
> ----------------------------------------
>
>                 Key: HBASE-1868
>                 URL: https://issues.apache.org/jira/browse/HBASE-1868
>             Project: Hadoop HBase
>          Issue Type: Bug
>         Environment: 0.20.0 RC2
>            Reporter: stack
>             Fix For: 0.20.1
>
>
> I'm seeing loads of this in logs:
> {code}
> 2009-09-24 21:27:22,130 DEBUG org.apache.hadoop.hbase.master.RegionManager: 
> Server XX.XX.XX.100,20020,1253219583523 will be unloaded for balance. Server 
> load: 5 avg: 3.78, regions can be moved: 4
> {code}
> Its like balancer is coming up w/ wrong answer to question... I don't see 
> subsequent stuff going on... It does it over and over for hours.
> Then a split comes in and its seems to shake things up.  I see it do a bunch 
> of assigning.
> {code}
> 2009-09-24 21:41:02,784 INFO org.apache.hadoop.hbase.master.ServerManager: 
> Processing MSG_REPORT_SPLIT: locations,,1253657949707: Daughters; 
> locations,,1253
> 828460677, 
> locations,http:\x2F\x2Fen.wikipedia.org\x2Fwiki\x2FLarry_Lucchino,1253828460677
>  from aa0-009-2.u.powerset.com,20020,1253219584971; 1 of 3
> 2009-09-24 21:41:02,784 DEBUG org.apache.hadoop.hbase.master.RegionManager: 
> Assigning for address: XX.XX.XX.6:20020, startcode: 1253219584971, load: 
> (reque
> sts=5213, regions=3, usedHeap=114, maxHeap=2031): total nregions to assign=2, 
> nregions to reach balance=4, isMetaAssign=false
> 2009-09-24 21:41:02,820 DEBUG org.apache.hadoop.hbase.master.RegionManager: 
> Assigning for address: XX.XX.XX.96:20020, startcode: 1253219584175, load: 
> (requ
> ests=12, regions=4, usedHeap=404, maxHeap=2031): total nregions to assign=2, 
> nregions to reach balance=4, isMetaAssign=false
> ...
> {code}
> Then back to the 'will be unloaded'... message.
> A new split comes in and then the assigning gets triggered again... a few 
> regions are opened but not enough.
> Eventually it goes back to 'normal' (average load went to 3.85 from 3.8?)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to