@Override
      public void process(WatchedEvent event) {
        if (event.getState() == SyncConnected) {
          connSignal.countDown();
        }
      }
Opens a connection to zookeeper and waits until the connection established
ambari-agent/src/main/java/org/apache/ambari/tools/zk/ZkConnection.java