mirror of https://github.com/apache/druid.git
get rid of extraneous analyzer.inits
This commit is contained in:
parent
402ddbf261
commit
2ea164acd9
|
@ -106,19 +106,18 @@ public class DruidMasterBalancer implements DruidMasterHelper
|
||||||
|
|
||||||
List<ServerHolder> serverHolderList = new ArrayList<ServerHolder>(entry.getValue());
|
List<ServerHolder> serverHolderList = new ArrayList<ServerHolder>(entry.getValue());
|
||||||
|
|
||||||
analyzer.init(serverHolderList);
|
analyzer.init(serverHolderList, params);
|
||||||
|
|
||||||
log.info(
|
log.info(
|
||||||
"Initial Total Cost: [%s]",
|
"Initial Total Cost: [%s]",
|
||||||
analyzer.getInitialTotalCost()
|
analyzer.getInitialTotalCost()
|
||||||
);
|
);
|
||||||
|
|
||||||
analyzer.init(serverHolderList);
|
|
||||||
log.info(
|
log.info(
|
||||||
"Normalization: [%s]",
|
"Normalization: [%s]",
|
||||||
analyzer.getNormalization()
|
analyzer.getNormalization()
|
||||||
);
|
);
|
||||||
|
|
||||||
analyzer.init(serverHolderList);
|
|
||||||
log.info(
|
log.info(
|
||||||
"Normalized Inital Cost: [%s]",
|
"Normalized Inital Cost: [%s]",
|
||||||
analyzer.getNormalizedInitialCost()
|
analyzer.getNormalizedInitialCost()
|
||||||
|
|
Loading…
Reference in New Issue