You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2020/06/11 13:39:49 UTC

[GitHub] [druid] clintropolis opened a new pull request #10021: fix balancer + broadcast segments npe

clintropolis opened a new pull request #10021:
URL: https://github.com/apache/druid/pull/10021


   ### Description
   
   This PR fixes an NPE which occurs during the balancer phase after #9971 due to a missing parameter to pass on the broadcast datasources set in the coordinator parameter builder class.
   
   ```
   2020-06-11T13:34:21,945 ERROR [Coordinator-Exec--0] org.apache.druid.server.coordinator.DruidCoordinator - Caught exception, ignoring so that schedule keeps going.: {class=org.apache.druid.server.coordinator.DruidCoordinator, exceptionType=class java.lang.NullPointerException, exceptionMessage=null}
   java.lang.NullPointerException: null
   	at org.apache.druid.server.coordinator.ReservoirSegmentSampler.getRandomBalancerSegmentHolder(ReservoirSegmentSampler.java:47) ~[classes/:?]
   	at org.apache.druid.server.coordinator.CostBalancerStrategy.pickSegmentToMove(CostBalancerStrategy.java:220) ~[classes/:?]
   	at org.apache.druid.server.coordinator.duty.BalanceSegments.balanceServers(BalanceSegments.java:190) ~[classes/:?]
   	at org.apache.druid.server.coordinator.duty.BalanceSegments.balanceTier(BalanceSegments.java:158) ~[classes/:?]
   	at org.apache.druid.server.coordinator.duty.BalanceSegments.lambda$run$0(BalanceSegments.java:81) ~[classes/:?]
   	at java.util.HashMap.forEach(HashMap.java:1289) ~[?:1.8.0_242]
   	at org.apache.druid.server.coordinator.duty.BalanceSegments.run(BalanceSegments.java:80) ~[classes/:?]
   ```
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] clintropolis merged pull request #10021: fix balancer + broadcast segments npe

Posted by GitBox <gi...@apache.org>.
clintropolis merged pull request #10021:
URL: https://github.com/apache/druid/pull/10021


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org