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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]