Have a look at the master log, it's usually because a region is stuck
in transition or it's still processing (or think it's processing) a
dead server.

J-D

On Mon, Sep 12, 2011 at 3:10 PM, Jeff Whiting <je...@qualtrics.com> wrote:
> Any hints as to why the balancer isn't running automatically.  I'll have a
> situation like the one below:
>
> ds1.dev.qualtrics.com:60030    1315865095639    requests=0, regions=0,
> usedHeap=35, maxHeap=795
> ds2.dev.qualtrics.com:60030    1315865040205    requests=0, regions=0,
> usedHeap=41, maxHeap=795
> ds3.dev.qualtrics.com:60030    1315841275719    requests=45, regions=23,
> usedHeap=77, maxHeap=795
> ds4.dev.qualtrics.com:60030    1315841273112    requests=5, regions=23,
> usedHeap=359, maxHeap=795
>
> In the hbase shell I check that the balancer is supposed to be running.
>
> hbase(main):004:0> balance_switch true
> true
> 0 row(s) in 0.9360 seconds
>
> It is.  But it wont balance the regions until I run:
>
> hbase(main):007:0> balancer
> false
> 0 row(s) in 0.1000 seconds
>
> Then everything looks good:
> ds1.dev.qualtrics.com:60030    1315865095639    requests=0, regions=11,
> usedHeap=40, maxHeap=795
> ds2.dev.qualtrics.com:60030    1315865040205    requests=3, regions=11,
> usedHeap=44, maxHeap=795
> ds3.dev.qualtrics.com:60030    1315841275719    requests=0, regions=12,
> usedHeap=83, maxHeap=795
> ds4.dev.qualtrics.com:60030    1315841273112    requests=1, regions=12,
> usedHeap=349, maxHeap=795
>
> Is there a place I should be looking to see why the balancer isn't running
> automatically?
>
> Thanks,
> ~Jeff
>
> --
> Jeff Whiting
> Qualtrics Senior Software Engineer
> je...@qualtrics.com
>
>

Reply via email to