private static List<ACL> createSecureAcls() {
    // Read all to the world
    List<ACL> nodeAcls = new ArrayList<>(ZooDefs.Ids.READ_ACL_UNSAFE);
    // Create/Delete/Write/Admin to creator
    nodeAcls.addAll(ZooDefs.Ids.CREATOR_ALL_ACL);
    return nodeAcls;
  }
Kill query coordination service.
When service discovery is enabled a local kill query can request a kill
on every other HS2 server with the queryId or queryTag and wait for confirmation on denial.
The communication is done through Zookeeper.
service/src/java/org/apache/hive/service/server/KillQueryZookeeperManager.java