zkTaskSetup.cleanUp();
zkTaskSetup.setUpTasks("1.0.0.", new String[] { "task0", "task1" });
Object obj;
System.out.println(processName + " Going to Wait for a task");
HashMap<String, String> map = new HashMap<String, String>();
ZkTaskManager taskManager = new ZkTaskManager(address,
"/taskmanagerTest",
ClusterType.S4);
obj = taskManager.acquireTask(map);
System.out.println(processName + "taking up task: " + obj);
File f = new File("c:/" + obj + ".file");
f.delete();
while (true) {
if (f.exists()) {