System.err.println("java TaskSetupApp <zk_address> [clean|setup] setup_config_xml");
System.exit(1);
}
private static void doMain(String zkAddress, boolean clean, boolean setup, String setupXml) {
ConfigParser parser = new ConfigParser();
Config config = parser.parse(setupXml);
for (Cluster cluster : config.getClusters()) {
processCluster(clean, zkAddress, cluster, config.getVersion());
}
}