@After
  public void stop() throws Exception {
    if (zkClient != null) {
      zkClient.close();
    }
    if (zkServer != null) {
      zkServer.stop();
    }
  }
Test MetaStore Client throws exception when no MetaStore spec found in zookeeper.
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/TestRemoteHMSZKNegative.java