07-13-2018 04:59 AM - last edited on 07-13-2018 05:40 AM by cjervis
I'd like to ask if it's possible to configure Hue in Cloudera Manager to use specific Hiveserver2. As far as I can see there is only option for the "Hive service" as a whole, and CM automagically sets beeswax_server_host in hue.ini. I've tried to override this behaviour by adding section:
[ beeswax ]
Hue Service Advanced Configuration Snippet (Safety Valve) and Hue Server Advanced Configuration Snippet (Safety Valve) as proposed in https://groups.google.com/a/cloudera.org/forum/#!topic/hue-user/WzxrpI4ykW8 but with no success so far.
Has anyone tried this configuration? Is this doable in CM, or the only way is to build hiveserver2 load balancer?
Thank you in advance
07-13-2018 09:24 AM
You were super close.
In Hue Service Advanced Configuration Snippet (Safety Valve) for hue_safety_valve.ini, use the following:
NOTE that the old beeswax server is no longer part of CDH 5, so you don't need "server_interface" either.
07-17-2018 03:13 AM