Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Hue configuration for hiveserver in Cloudera Manager

Solved Go to solution

Hue configuration for hiveserver in Cloudera Manager

Contributor

Hi All,

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 ]
server_interface=hiveserver2
beeswax_server_port=10000
beeswax_server_host=<hiveserver_ip>
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

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Hue configuration for hiveserver in Cloudera Manager

Super Guru

@lizard,

 

You were super close.

 

In Hue Service Advanced Configuration Snippet (Safety Valve) for hue_safety_valve.ini, use the following:

 

[beeswax]

hive_server_host=

hive_server_port=

 

NOTE that the old beeswax server is no longer part of CDH 5, so you don't need "server_interface" either.

 

Ben

2 REPLIES 2

Re: Hue configuration for hiveserver in Cloudera Manager

Super Guru

@lizard,

 

You were super close.

 

In Hue Service Advanced Configuration Snippet (Safety Valve) for hue_safety_valve.ini, use the following:

 

[beeswax]

hive_server_host=

hive_server_port=

 

NOTE that the old beeswax server is no longer part of CDH 5, so you don't need "server_interface" either.

 

Ben

Re: Hue configuration for hiveserver in Cloudera Manager

Contributor
Hi @bgooley, It's working, thank you. Just wanted to add that one may add this configuration to Hue Server Advanced Configuration Snippet (Safety Valve) for hue_safety_valve_server.ini instead and make this configuration piece different for all instances of the Hue servers. Thanks!