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)

with-nginx

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

hue-cm-1-instance

A single Hue server

hue-cmlb

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!

8 Comments

  1. Ruslan 2 years ago

    That’s awesome. Is this feature using Apache httpd or nginx as you outlined in http://gethue.com/using-nginx-to-speed-up-hue-3-8-0
    ?
    Thank you.

    • Hue Team 2 years ago

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

  2. Josemy 2 years ago

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

  3. J 1 year 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 1 year ago

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

  4. Kanwal 2 months 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.

Leave a reply

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

*