Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-10726

Fix java.lang.ArrayIndexOutOfBoundsException in StochasticLoadBalancer$LocalityBasedCandidateGenerator

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.96.2, 0.98.1, 0.99.0, hbase-10070
    • Component/s: None
    • Labels:
      None

      Description

      Recent fix in HBASE-10632 to StochasticLoadBalancer$LocalityBasedCandidateGenerator revealed another issue:

      java.lang.ArrayIndexOutOfBoundsException: -1
      	at org.apache.hadoop.hbase.master.balancer.StochasticLoadBalancer$CandidateGenerator.pickRandomRegion(StochasticLoadBalancer.java:405)
      	at org.apache.hadoop.hbase.master.balancer.StochasticLoadBalancer$LocalityBasedCandidateGenerator.generate(StochasticLoadBalancer.java:571)
      	at org.apache.hadoop.hbase.master.balancer.StochasticLoadBalancer.balanceCluster(StochasticLoadBalancer.java:235)
      	at org.apache.hadoop.hbase.master.HMaster.balance(HMaster.java:1465)
      	at org.apache.hadoop.hbase.master.HMaster.balance(HMaster.java:1505)
      

        Attachments

        1. hbase-10726_v1.patch
          3 kB
          Enis Soztutar

        Issue Links

          Activity

            People

            • Assignee:
              enis Enis Soztutar
              Reporter:
              enis Enis Soztutar

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment