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

NullPointerException when balanceOverall() but server balance info is null

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      2018-08-15,10:07:30,456 ERROR [master/c4-hadoop-tst-ct15:42900.Chore.1] org.apache.hadoop.hbase.ScheduledChore: Caught error
      java.lang.NullPointerException
      at org.apache.hadoop.hbase.master.balancer.SimpleLoadBalancer.balanceOverall(SimpleLoadBalancer.java:482)
      at org.apache.hadoop.hbase.master.balancer.SimpleLoadBalancer.balanceCluster(SimpleLoadBalancer.java:426)
      at org.apache.hadoop.hbase.master.balancer.SimpleLoadBalancer.balanceCluster(SimpleLoadBalancer.java:592)
      at org.apache.hadoop.hbase.master.HMaster.balance(HMaster.java:1535)
      at org.apache.hadoop.hbase.master.HMaster.balance(HMaster.java:1466)
      at org.apache.hadoop.hbase.master.balancer.BalancerChore.chore(BalancerChore.java:49)
      at org.apache.hadoop.hbase.ScheduledChore.run(ScheduledChore.java:186)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
      at org.apache.hadoop.hbase.JitterScheduledThreadPoolExecutorImpl$JitteredRunnableScheduledFuture.run(JitterScheduledThreadPoolExecutorImpl.java:111)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)

      Attachments

        Issue Links

          Activity

            People

              Xiaolin Ha Xiaolin Ha
              Xiaolin Ha Xiaolin Ha
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: