fix balancer + broadcast segments npe (#10021)

This commit is contained in:
Clint Wylie 2020-06-12 13:09:22 -07:00 committed by GitHub
parent fe2f656427
commit 8a7e7e773a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 3 deletions

View File

@ -226,7 +226,8 @@ public class DruidCoordinatorRuntimeParams
coordinatorCompactionConfig, coordinatorCompactionConfig,
stats, stats,
balancerReferenceTimestamp, balancerReferenceTimestamp,
balancerStrategy balancerStrategy,
broadcastDatasources
); );
} }
@ -246,7 +247,8 @@ public class DruidCoordinatorRuntimeParams
coordinatorCompactionConfig, coordinatorCompactionConfig,
stats, stats,
balancerReferenceTimestamp, balancerReferenceTimestamp,
balancerStrategy balancerStrategy,
broadcastDatasources
); );
} }
@ -300,7 +302,8 @@ public class DruidCoordinatorRuntimeParams
CoordinatorCompactionConfig coordinatorCompactionConfig, CoordinatorCompactionConfig coordinatorCompactionConfig,
CoordinatorStats stats, CoordinatorStats stats,
DateTime balancerReferenceTimestamp, DateTime balancerReferenceTimestamp,
BalancerStrategy balancerStrategy BalancerStrategy balancerStrategy,
Set<String> broadcastDatasources
) )
{ {
this.startTimeNanos = startTimeNanos; this.startTimeNanos = startTimeNanos;
@ -317,6 +320,7 @@ public class DruidCoordinatorRuntimeParams
this.stats = stats; this.stats = stats;
this.balancerReferenceTimestamp = balancerReferenceTimestamp; this.balancerReferenceTimestamp = balancerReferenceTimestamp;
this.balancerStrategy = balancerStrategy; this.balancerStrategy = balancerStrategy;
this.broadcastDatasources = broadcastDatasources;
} }
public DruidCoordinatorRuntimeParams build() public DruidCoordinatorRuntimeParams build()