Configuring Hue to handle HS2 failover

Hue can handle HiveServer2 (HS2) failovers using ZooKeeper without the need to set up a load balancer.

  1. Log in to Cloudera Manager as an Administrator.
  2. Go to Clusters > Hue > Configuration and add the following lines in the Hue Service Environment Advanced Configuration Snippet (Safety Valve) field:
  3. Click Save Changes.
  4. Restart the Hue service.