String jobPath = "/GoldenOrb/" + orbConf.getOrbClusterName() + "/" + nodeName;
if (ZookeeperUtils.nodeExists(zk, jobPath)) {
if (nodeName.equalsIgnoreCase("JobQueue")) jobQueueWatcher = new JobsMonitor(jobPath, this, zk);
else jobsInProgressWatcher = new JobsMonitor(jobPath, this, zk);
} else {
throw new NodeDoesNotExistException(jobPath);
}
}