}
@Override
public void run() {
// Setup log4j to match our jul glog config in order to pick up zookeeper logging.
Configuration logConfiguration = RootLogConfig.configurationFromFlags();
logConfiguration.apply();
Log4jConfigurator.configureConsole(logConfiguration);
LeadershipListener leaderListener = schedulerLifecycle.prepare();
Optional<InetSocketAddress> httpSocket =