Automatic High Availability and Load Balancing of Hue in Cloudera Manager with monitoring

Automatic High Availability and Load Balancing of Hue in Cloudera Manager with monitoring

The release of Hue 3.9 and CDH5.5 makes Hue noticeably faster and easy to monitor.

A built-in load balancer can be added in just a few clicks. In the past, setting up a load balancer had still some manual pieces. These are still valid and recommended if you use your own Hue. However, if you use Cloudera Manager this new load balancer provides theses advantages out of the box:

  • Automatic fail-over to an available healthy Hue in case of crash, network or host glitch
  • Transparent serving of the static files for much better request performances and more responsiveness (cut down average number of Web request by page from 60 to 5, that’s a lot of saving with many concurrent users!)

Before (without load balancer)


After (with load balancer)


The monitoring of the Hue service was also improved by tracking the number of active users, requests and other statistics warning about potential problems.

Here is a video explaining and demonstrating the improvements:

Monitoring of number of active users and requests

Monitoring of number of active users and requests


A single Hue server


Adding redundant Hue servers and balancers for more performances and availability


Next versions will continue to focus on stability and performances with more optimizations for an even better end user experience!

If you have any question, feel free to comment here or on the hue-user list or @gethue!


  1. Ruslan 3 years ago

    That’s awesome. Is this feature using Apache httpd or nginx as you outlined in
    Thank you.

    • Hue Team 3 years ago

      This one is using on Apache httpd as it is available on older platforms.

  2. Josemy 3 years ago

    What would the process to achieve the same but in the Tarball installation?

  3. J 3 years ago

    Hi Hue Team,
    Can you please also explain step-by-step process for reverting to standalone Hue instance in a safe manner, thank you.

    • Author
      Hue Team 2 years ago

      You can just delete the Load Balancer role and that’s it!

  4. Kanwal 2 years ago

    I have vip URL for load balancer and needs to setup on top of my Hue servers. Like I can do it Oozie and Hive. Is there a way in Hue to setup load balancer URL as Vip.

    As per above instructions, adding one host as Load balancer. I would need Vip (virtual ip) to set as Load balancer than a another host.

  5. Relife 4 months ago

    Hi Hue Team,
    I am going to download the query result and encounter this problem:
    The query result cannot be downloaded.
    Header values can’t contain newlines (got ‘=?utf-8?b?YXR0YWNobWVudDsgZmlsZW5hbWU96aKG5Z+f5Lqk5LqS5LiN5Y676YeNLnhs?=\n =?utf-8?q?sx?=’)
    what should i do?

    • Author
      Hue Team 4 months ago

      Which Hue version is it? (I thought that this was fixed)

Leave a reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.