Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

How to disable kerberos for HiveServer2

avatar
Contributor

Hello everyone,

We would like to try disabling Hive Kerberos on CDP 7.1.7.

Here are the parameters we tried disabling:

Hive Service Advanced Configuration Snippet (Safety Valve) for hive-site.xml

hive.server2.authentication.kerberos.principal 

hive.server2.authentication.kerberos.keytab

hive.server2.authentication NONE

hive.security.authorization.enabled false

hive.server2.enable.impersonation false

hive.metastore.sasl.enabled false

steinsgate_0-1727776603366.pngsteinsgate_1-1727776618325.png

Hive Service Advanced Configuration Snippet (Safety Valve) for core-site.xml

hadoop.security.authentication simple

hadoop.security.authorization false

steinsgate_3-1727776672222.png

After turning off the following parameters and restarting HiveServer2, we noticed that HiveServer2 still seems to fail due to Kerberos authentication.

steinsgate_5-1727777024931.png

Could you please advise on how to completely disable Kerberos for HiveServer2? Thank you.

 

1 ACCEPTED SOLUTION

avatar
Rising Star

@steinsgate 

Its definitely not recommended to disable Kerberos for Hive. However if you still want to disable Kerberos please do it at a cluster level and not at Hive level. This is not a supported / certified combination. Thats to have your cluster kerberos but Hive not kerberized. Its either you cluster is Kerberos enabled or not. 

View solution in original post

1 REPLY 1

avatar
Rising Star

@steinsgate 

Its definitely not recommended to disable Kerberos for Hive. However if you still want to disable Kerberos please do it at a cluster level and not at Hive level. This is not a supported / certified combination. Thats to have your cluster kerberos but Hive not kerberized. Its either you cluster is Kerberos enabled or not.