Options to restart the Hue service

Restarting the Hue service is necessary after upgrading CDP or making configuration changes to the Hue service. You can restart Hue in regular or rolling restart mode. Rolling restart reduces the service downtime to approximately 80 to 90 seconds.

You can restart the Hue service independently or as a part of the cluster restart. When you restart the Hue service normally, Hue can become unavailable for an average of 30 minutes from the restart time (this could vary depending on the number of services in your cluster). When you restart the cluster containg the Hue service, Hue is stopped first among other services in the cluster and restarted at the end. To reduce the service downtime, Cloudera recommends that you use the Rolling Restart option.

Restarting the Hue service independently in rolling restart mode

To restart Hue service in the rolling restart mode, use one of the following steps:
  • Go to Cloudera Manager > Clusters and click corresponding to the Hue service and then click Rolling Restart, or
  • Go to Cloudera Manager > Clusters > Hue and click Actions > Rolling Restart.
Cloudera Manager shows the following options to restart the Hue service in the rolling restart mode:
Category Restart options Description
Restart filters Restart roles with stale configuration only Select this option to restart Hue if you have updated the Hue configuration.
Restart roles with the old software version only Select this option to restart Hue if you have upgraded the cluster.
Role types to restart Kerberos Ticket Renewer Selected by default. Restarts the Kerberos Ticket Renewer role.
Load Balancer Selected by default. Restarts the Load Balancer role after the Kerberos Ticket Renewer.
Hue Server Selected by default. Restarts the Hue Server role after the load balancer.

When you restart Hue, Hue’s non-worker roles, such as the load balancer, Kerberos ticket renewer, and Hue server restart one after the other.

Restarting a CDP cluster containing the Hue service in the rolling restart mode

To restart an HA cluster containing the Hue service in the rolling restart mode, go to Cloudera Manager > Clusters and click corresponding to your cluster name and select Rolling Restart. You see the Rolling Restart modal with the list of services that support rolling restart.