Created 05-22-2019 04:18 AM
Hi , we are in the process of creating HDP 2.6 cluster where in RHEL OS will be integrated with AD for authentication.
We will using AD as the KDC.
My question if we create a local UNIX user called HIVEUSER and use any BI tool to connect to HIVE using this user, will the local user be able to get authenticated and access Hive tables in kerberized cluster?
or the HIVEUSER should be in AD?
Created 05-22-2019 12:33 PM
If you have kerberized your cluster using AD, your local user cannot generate a valid Kerberos key unless he/she is present in the AD.
The reason for using AD is to delegate and centralize user creation/authentication/management to Active Directory. You should maybe configure a System Security Services Daemon (SSSD) client to use Active Directory (AD) as an Identity Provider for SSSD
But the best solution is to create your HIVEUSER in AD which will generate the correct keytabs/permission for your user to access hive.
HTH
Created 05-22-2019 12:33 PM
If you have kerberized your cluster using AD, your local user cannot generate a valid Kerberos key unless he/she is present in the AD.
The reason for using AD is to delegate and centralize user creation/authentication/management to Active Directory. You should maybe configure a System Security Services Daemon (SSSD) client to use Active Directory (AD) as an Identity Provider for SSSD
But the best solution is to create your HIVEUSER in AD which will generate the correct keytabs/permission for your user to access hive.
HTH
Created 06-24-2019 07:04 PM
Thank you very much for this answer.
Created 05-22-2019 05:59 PM
The above question and the reply thread below were originally posted in the Community Help Track. On Wed May 22 17:55 UTC 2019, a member of the HCC moderation staff moved it to the Security track. The Community Help Track is intended for questions about using the HCC site itself.
Created 05-26-2019 10:47 AM
Any updates?