*
*/
private void enterInitializationBarrier(String barrierName, int countToWaitFor) {
LOG.debug("p{} creating barrier {}", getPartitionID(), barrierName);
LOG.debug("{} will wait for {} partitions to join", barrierName, countToWaitFor);
Barrier barrier = new OrbFastBarrier(getOrbConf(), jobInProgressPath + "/" + barrierName, countToWaitFor,
Integer.toString(getPartitionID()), zk);
try {
barrier.enter();
LOG.debug("p{} entered {}", getPartitionID(), barrierName);
} catch (OrbZKFailure e) {
LOG.error("p{} failed to complete barrier {}: " + e.getMessage(), getPartitionID(), barrierName);
e.printStackTrace();
}