Configuring Cloudera Navigator to work with Hue HA

Cloudera Navigator Search results include links to open data assets in Hue. No special configuration is required to enable these links.

However, for multiple Hue instances deployed behind external load-balancers such as in certain Hue high availability configurations, the links are properly generated only if the host name of the external load-balancer is set as the preferred URL, by configuring the Advanced Configuration Property (Safety Valve) as follows:
  1. Log in to Cloudera Manager Admin Console using an account with Full Administrator privileges.
  2. Select Clusters > Cloudera Management Service.
  3. Click the Configuration tab.
  4. Under filter Scope, click Navigator Metadata Server.
  5. Under the Category filter, click Advanced.
  6. Scroll to the property Navigator Metadata Server Advanced Configuration Snippet (Safety Valve) for cloudera-navigator.properties.
  7. Set the nav.hue.preferred_baseurl.{clusterName} to the fully-qualified domain name of your Hue load-balancer using this format:
    nav.hue.preferred_baseurl.{clusterName}=hue-load-balancer.example.com
    
    For example, if a load-balancer for multiple Hue services is setup on host hue_lb_nginx.example.com, the entry would be as follows:

  8. Click Save.
  9. Restart the Navigator Metadata Server role.

    Links to Hue will now be properly created and available in the Search results lists in the Cloudera Navigator console.