Posts

Showing posts from November, 2017

Setting up Simple MIT KDC Server - CentOS and RHEL Environments

Here are the precise steps for configuring MIT Kerberos server on CentOS, You can follow the same steps for configuring in RHEL servers as well Prerequisites 1. Make sure you have proper FQDN (Fully Qualified Domain Name ) present on your servers, ( Example : myhost.mydomain.com) 2. This can be verified by issuing (hostname -f) and (hostname) commands 3. Additionally make sure your have proper DNS resolution for the Hosts (If present) 4. If DNS is not configured on those nodes, make sure there is valid (/etc/hosts) file pointing correct hostnames 5. Make sure you have either local yum repository / Internet repository access Installation 1. Install packages            yum install krb5-libs krb5-server krb5-workstation Here krb5-server is actual kerberos server and krb5-workstation is your client package which needs to be installed on client nodes (Example: Nodemanagers, Datanodes etc.,) 2. Configure KDC server Edit /etc/krb5.conf as ...

MapR - Drill does not start after enabling kerberos - Fails with exception [ YouShouldntSeeThisErrorUnlessYourJVMhadoop.loginPropertiesAreBad ]

This kind of exception messages probably if you could see when your Drillbit does not start after enabling kerberos authentication by following this article . From drillbit.out file Caused by: java.io.IOException: Login failure for mapr/my52cluster@SATZ.COM from keytab /opt/mapr/conf/mapr.keytab: javax.security.auth.log in.LoginException: unable to find LoginModule class: YouShouldntSeeThisErrorUnlessYourJVMhadoop.loginPropertiesAreBad         at org.apache.hadoop.security.UserGroupInformation.loginUserFromKeytab(UserGroupInformation.java:907)         at org.apache.drill.exec.server.BootStrapContext.login(BootStrapContext.java:145)         ... 5 more Caused by: javax.security.auth.login.LoginException: unable to find LoginModule class: YouShouldntSeeThisErrorUnlessYourJVMhadoop.loginProp ertiesAreBad         at javax.security.auth.login.LoginContext.invoke(LoginContext.java:794)     ...