You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2010/09/10 08:01:32 UTC

[jira] Commented: (HBASE-2978) LoadBalancer IndexOutOfBoundsException

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

stack commented on HBASE-2978:
------------------------------

I added this at line 249:

{code}
+        if (idx >= server.getValue().size()) break;
{code}

> LoadBalancer IndexOutOfBoundsException
> --------------------------------------
>
>                 Key: HBASE-2978
>                 URL: https://issues.apache.org/jira/browse/HBASE-2978
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.90.0
>
>
> {code}
> 2010-09-09 22:49:21,500 ERROR [192.168.1.157:51901-balancerChore] hbase.Chore(69): Caught exception
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> 	at java.util.ArrayList.RangeCheck(ArrayList.java:547)
> 	at java.util.ArrayList.get(ArrayList.java:322)
> 	at org.apache.hadoop.hbase.master.LoadBalancer.balanceCluster(LoadBalancer.java:250)
> 	at org.apache.hadoop.hbase.master.HMaster.balance(HMaster.java:568)
> 	at org.apache.hadoop.hbase.master.HMaster$1.chore(HMaster.java:480)
> 	at org.apache.hadoop.hbase.Chore.run(Chore.java:66)
> {code}

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