Master.this.setMasterGoalState(state);
}
private void updatePlugins(String property) {
if (property.equals(Property.MASTER_TABLET_BALANCER.getKey())) {
TabletBalancer balancer = createInstanceFromPropertyName(instance.getConfiguration(), Property.MASTER_TABLET_BALANCER, TabletBalancer.class,
new DefaultLoadBalancer());
balancer.init(serverConfig);
tabletBalancer = balancer;
log.info("tablet balancer changed to " + tabletBalancer.getClass().getName());
}
}