@Test
  public void testHadoopAuthKerberosAndZookeeperNoKerberos(){
    conf.setBoolean(HiveConf.ConfVars.HIVE_ZOOKEEPER_USE_KERBEROS.varname, false);
    Assert.assertFalse(ZookeeperUtils.isKerberosEnabled(conf));
  }
Secure scenario with hive.zookeeper.kerberos.enabled=false.
llap-client/src/test/org/apache/hadoop/hive/registry/impl/TestZookeeperUtils.java