How to generate kerberos keytabs

For AD accounts 1.From shell #ktutil 2. Add an entry as below ktutil:addent -password  -p -k 1 -e RC4-HMAC ktutil:wkt  username.keytab ktutil:q For FeeIPA accounts Use the below command #ipa-getkeytab -s -p  --keytab=username.keytab --password Try kinit using the keytab as below #kinit -k -t username.keytab Note: Change the username  accordingly.


Crontab not working for kerberized hadoop

ISSUE:- Cronjobs not working for kerberos enabled hadoop. Throwing below error. ERROR tool.ImportTool: Encountered IOException running import job: Failed on local exception: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)];   Solution:- This is because there is no TTY, Profile setup for the … Continue reading Crontab not working for kerberized hadoop

How To Install Apache Tomcat 8 on CentOS 7

1.Install JAVA #yum install java-1.7.0-openjdk-devel 2.Install tomcat We are going to install Tomcat in  /usr/local #cd /usr/local #wget #tar zxvf apache-tomcat-8.5.9.tar.gz 3.  Start tomcat #cd /usr/local/apache-tomcat-8.5.9/bin #./ 4. Check the Tomcat web UI with http://server_IP_address:8080 5. Configure Tomcat Web Management Interface by adding the user as below Open the conf file #vi /usr/local/apache-tomcat/conf/tomcat-users.xml add the below entry … Continue reading How To Install Apache Tomcat 8 on CentOS 7