} else if (controllerMode.equalsIgnoreCase(DISTRIBUTED)) {
manager =
HelixManagerFactory.getZKHelixManager(clusterName, controllerName,
InstanceType.CONTROLLER_PARTICIPANT, zkConnectString);
MultiClusterControllerTransitionHandlerFactory stateModelFactory =
new MultiClusterControllerTransitionHandlerFactory(zkConnectString);
StateMachineEngine stateMach = manager.getStateMachineEngine();
stateMach.registerStateModelFactory(StateModelDefId.LeaderStandby, stateModelFactory);
manager.connect();
} else {