LOG.error("fail to start participant:" + instanceName
+ "(participant with the same name already running");
}
else
{
StartCMResult result = TestHelper.startDummyProcess(ZK_ADDR, firstCluster,
instanceName);
_startCMResultMap.put(instanceName, result);
}
}
// start distributed cluster controllers
for (int i = 0; i < 5; i++)
{
String controllerName = CONTROLLER_PREFIX + "_" + i;
if (_startCMResultMap.get(controllerName) != null)
{
LOG.error("fail to start controller:" + controllerName
+ "(controller with the same name already running");
}
else
{
StartCMResult result = TestHelper.startController(CONTROLLER_CLUSTER,
controllerName,
ZK_ADDR,
HelixControllerMain.DISTRIBUTED);
_startCMResultMap.put(controllerName, result);
}