diff --git a/server/src/main/java/com/metamx/druid/master/DruidMasterBalancer.java b/server/src/main/java/com/metamx/druid/master/DruidMasterBalancer.java index 9a7445eb03a..b82a3ba5b89 100644 --- a/server/src/main/java/com/metamx/druid/master/DruidMasterBalancer.java +++ b/server/src/main/java/com/metamx/druid/master/DruidMasterBalancer.java @@ -106,19 +106,18 @@ public class DruidMasterBalancer implements DruidMasterHelper List serverHolderList = new ArrayList(entry.getValue()); - analyzer.init(serverHolderList); + analyzer.init(serverHolderList, params); + log.info( "Initial Total Cost: [%s]", analyzer.getInitialTotalCost() ); - analyzer.init(serverHolderList); log.info( "Normalization: [%s]", analyzer.getNormalization() ); - analyzer.init(serverHolderList); log.info( "Normalized Inital Cost: [%s]", analyzer.getNormalizedInitialCost()