- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to disable kerberos for HiveServer2
Created on ‎10-01-2024 03:04 AM - edited ‎10-01-2024 03:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Hive Service Advanced Configuration Snippet (Safety Valve) for core-site.xml
hadoop.security.authentication simple
hadoop.security.authorization false
After turning off the following parameters and restarting HiveServer2, we noticed that HiveServer2 still seems to fail due to Kerberos authentication.
Created ‎10-02-2024 09:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Created ‎10-02-2024 09:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
