get rid of extraneous analyzer.inits

This commit is contained in:
Nelson Ray 2013-01-07 09:09:56 -08:00
parent 402ddbf261
commit 2ea164acd9
1 changed files with 2 additions and 3 deletions

View File

@ -106,19 +106,18 @@ public class DruidMasterBalancer implements DruidMasterHelper
List<ServerHolder> serverHolderList = new ArrayList<ServerHolder>(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()