Support Questions

Find answers, ask questions, and share your expertise

HBase balancer fails

avatar
New Contributor

Using HBase 2.0.2

There is no region in transition. Still, HBase balancer fails to run (it is set to run every default time).

Master log shows:

 

ERROR hbase.ScheduledChore - Caught error
java.lang.ArrayIndexOutOfBoundsException

 

When tried to run balancer in HBase shell, still error occurs.

Master log shows:

 

ERROR ipc.RpcServer - Unexpected throwable object
java.lang.ArrayIndexOutOfBoundsException

 

In shell:

 

DEBUG client.RpcRetryingCallerImpl - Call exception, tried=6, retried=8, started=6097 ms ago, cancelled=false, msg=java.io.IOException
...
Caused by: java.lang.ArrayIndexOutOfBoundsException
...
Caused by: org.apache.hadoop.hbase.ipc.RemoteWithExtrasException(java.io.IOException): java.io.IOException

ERROR: java.io.IOException
...
Caused by: java.lang.ArrayIndexOutOfBoundsException

 

Changing HBase version is not an option. This HBase cluster has TBs of data.

 

Any help to be able to fix this and run balancer successfully?

 

 

1 REPLY 1

avatar
Cloudera Employee

This can be caused by https://issues.apache.org/jira/browse/HBASE-22739. It doesn't seems HBase 2.0.2 contains this fix. The only workaround is to perform a failover of the HBase Master.