Reference Guide
...
Hive - Zookeeper Configuration
Modifying the /etc/hosts File for Zookeeper Nodes
2 min
to ensure that kron dam can resolve the hostnames of the zookeeper nodes, you need to update the /etc/hosts file on the kron dam machine access the kron dam server via ssh open the /etc/hosts file with a text editor (e g , vi /etc/hosts) add the following entries to map the zookeeper node ip addresses to their hostnames examples 172 191 43 234 hive masternode 01 172 173 226 15 hive datanode 02 52 170 134 60 hive datanode 03 40 114 55 184 hive metanode 04 52 170 69 75 hive adnode 05 to connect hive nodes user needs to upload the hive jdbc files into pam/gui/lib in the kron dam environment