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

Andrew Purtell commented on HBASE-21055:
----------------------------------------

Seems fine. We should apply to all relevant branches.
+1

> NullPointerException when balanceOverall() but server balance info is null 
> ---------------------------------------------------------------------------
>
>                 Key: HBASE-21055
>                 URL: https://issues.apache.org/jira/browse/HBASE-21055
>             Project: HBase
>          Issue Type: Bug
>          Components: Balancer
>    Affects Versions: 2.1.0
>            Reporter: Xiaolin Ha
>            Assignee: Xiaolin Ha
>            Priority: Major
>         Attachments: HBASE-21055.branch-2.1.001.patch
>
>
> 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)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to