Hue can handle HiveServer2 (HS2) failovers using ZooKeeper without the need to set up
a load balancer.
-
Log in to Cloudera Manager as an Administrator.
-
Go to and add the following lines in the Hue Service
Environment Advanced Configuration Snippet (Safety Valve)
field:
[beeswax]
hive_discovery_hs2=true
hive_discovery_hiveserver2_znode=/hiveserver2
-
Click Save Changes.
-
Restart the Hue service.