// ZK ephemeral node for this Bookie.
String zkBookieRegPath = this.bookieRegistrationPath
+ StringUtils.addrToString(getBookieAddress(conf));
final CountDownLatch prevNodeLatch = new CountDownLatch(1);
try{
Watcher zkPrevRegNodewatcher = new Watcher() {
@Override
public void process(WatchedEvent event) {
// Check for prev znode deletion. Connection expiration is
// not handling, since bookie has logic to shutdown.
if (EventType.NodeDeleted == event.getType()) {