Created 11-06-2015 02:28 PM
We need to install a Non-Kerberized HDP 2.3 cluster and below are the requirements:
Created 11-07-2015 02:10 AM
I recently did the same. Below are quick notes and pointers to do that.
To use existing the Centrify Active Directory to configure security on an HDP cluster, please refer the the following document reference below covering the Centrify configuration to work with a Hortonwork environment.
Centrify for Hortonworks (Ambari 2.x)
Centrify for Hortonworks (Ambari 1.x)
Note: To enable Centrify to work correctly with Hortonworks, please make the following changes. (A few notes captured from earlier engagements including some gotchas)
1. Add ksh link (other wise AD profiles with ksh will fail login)
ln -s /bin/ksh93 /usr/bin/ksh
2. Edit /etc/krb5.conf file with these settings:
Forwarding=true
Renew=7d
3. Remove HTTP principle from SPN attribute of compute object in Active Directory:
adclient.krb5.service.principals: ftp cifs
adreload service centrifydc restart
4. Make sure you have AD account existing for Ambari server if you want to use non-root user existing in AD for Ambari Server.
To configure Ambari for a non-root based user, please refer to the following link.
Note: Add ulimit command to the list of sudo commands besides those mentioned in Hortonworks documents as Ambari tries to modify ulimits during the HDP services installation using an Ambari user, otherwise it just keeps complaining about the same.
5. For customizing or using services users from AD, make sure all accounts are already created in AD. Make sure all machines are added to AD. And as @Neeraj mentioned in above answer, Use the Skip Group Modifications
option to not modify the Linux users/groups in the cluster. Choosing this option is typically required if your environment manages groups using LDAP and not on the local Linux machines or already existing ones.
6. Make sure to change all the user's (Users for Ambari and HDP services) password policy in Active Directory from "User must change password at next logon" to "Password never expires"
7. Then refer to the following site to setup Kerberos in an HDP Cluster.
Note: Ensure Unlimited JCE policy is installed if using Oracle JDK else Test KD connection will fail on Enable Kerberos Wizard.
Reach out to me for any further detail.
Created 11-06-2015 02:34 PM
This document will save you lot of headache. Link
Page 12 is the most important. Please feel free to reach out to me anytime.
Adding important information regarding service account
Use the Skip Group Modifications
option to not modify the Linux groups in the cluster. Choosing this option is typically required if your environment manages groups using LDAP and not on the local Linux machines.
Created 11-07-2015 02:10 AM
I recently did the same. Below are quick notes and pointers to do that.
To use existing the Centrify Active Directory to configure security on an HDP cluster, please refer the the following document reference below covering the Centrify configuration to work with a Hortonwork environment.
Centrify for Hortonworks (Ambari 2.x)
Centrify for Hortonworks (Ambari 1.x)
Note: To enable Centrify to work correctly with Hortonworks, please make the following changes. (A few notes captured from earlier engagements including some gotchas)
1. Add ksh link (other wise AD profiles with ksh will fail login)
ln -s /bin/ksh93 /usr/bin/ksh
2. Edit /etc/krb5.conf file with these settings:
Forwarding=true
Renew=7d
3. Remove HTTP principle from SPN attribute of compute object in Active Directory:
adclient.krb5.service.principals: ftp cifs
adreload service centrifydc restart
4. Make sure you have AD account existing for Ambari server if you want to use non-root user existing in AD for Ambari Server.
To configure Ambari for a non-root based user, please refer to the following link.
Note: Add ulimit command to the list of sudo commands besides those mentioned in Hortonworks documents as Ambari tries to modify ulimits during the HDP services installation using an Ambari user, otherwise it just keeps complaining about the same.
5. For customizing or using services users from AD, make sure all accounts are already created in AD. Make sure all machines are added to AD. And as @Neeraj mentioned in above answer, Use the Skip Group Modifications
option to not modify the Linux users/groups in the cluster. Choosing this option is typically required if your environment manages groups using LDAP and not on the local Linux machines or already existing ones.
6. Make sure to change all the user's (Users for Ambari and HDP services) password policy in Active Directory from "User must change password at next logon" to "Password never expires"
7. Then refer to the following site to setup Kerberos in an HDP Cluster.
Note: Ensure Unlimited JCE policy is installed if using Oracle JDK else Test KD connection will fail on Enable Kerberos Wizard.
Reach out to me for any further detail.
Created 11-07-2015 02:55 AM
@Pardeep thanks for sharing!
Created 11-07-2015 05:36 AM
Pardeep, thanks for detailed notes, helpful.
Created 11-07-2015 09:35 PM
Thanks Pardeep !
Created 11-07-2015 09:44 PM
@hrongali@hortonworks.com Please do update the thread in case you find anything new