// auto create cluster and allow nodes to automatically join the cluster
admin = HelixManagerFactory.getZKHelixManager(cluster, "service-discovery",
InstanceType.ADMINISTRATOR, zkAddress);
admin.connect();
admin.getClusterManagmentTool().addCluster(cluster, false);
HelixConfigScope scope = new HelixConfigScopeBuilder(
ConfigScopeProperty.CLUSTER).forCluster(cluster).build();
Map<String, String> properties = new HashMap<String, String>();
properties.put(ZKHelixManager.ALLOW_PARTICIPANT_AUTO_JOIN,
String.valueOf(true));