Skip to content
This repository

hive query uses default principal hue/localhost@<REALM> in secure cluster #12

Closed
wfen opened this Issue · 2 comments

2 participants

wfen Romain Rigaux
wfen
wfen commented

I configured CDH4 with kerberos and my hive queries failed until I added beeswax_server_host value and tweaked beeswax/db_utils.py to support my non-standard hue principal name (needed to comply with my company's kerberos naming conventions).

I didn't discover the beeswax_server_host configuration option until digging through code. Since the default of localhost isn't great for a secured cluster I'd request that the beeswax_server_host configuration option be added in the Beeswax section with some comment that it might be needed for secure clusters. Further, the call thrift_util.get_client in beeswax/src/beeswax/db_utils.py uses a hardcoded kerberos_principal value which doesn't accommodate kerberos configurations which need to make use of kerberos principal to short name mapping such as is possible through "hadoop.security.auth_to_local".

Romain Rigaux
Owner

Thanks a lot for the report, I created https://issues.cloudera.org/browse/HUE-770

Romain Rigaux
Owner

Great feedback and it is fixed in Hue 2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.