Unable to read HiveServer2 configs from ZooKeeper 问题描述 在HDP集群开启kerberos后,在连接Hive时报错: Unable to read HiveServer2 configs from ZooKeeper 产生原因 原因可能很多,说不完,道不尽。 但是,如果zookeeper是正常启动的话,归根结底,就一个: Hive的连接串中参数不对!!! 可能的情况有: 没有加keytab文件没有加krb5.conf文件principal拼错了…… 解决方案 没别的办法,拿着连接串用beeline去试,看哪个能连上,那个有问题。