Created 01-26-2017 02:07 PM
Hi,
I'm not sure if this is in the correct Board/Topic....but I wasn't sure which board to post into.
We have setup a Kerberized CDH cluster (CDH 5.9.0) via the CM Security -> Kerberos Wizard and have the cluster communicating with an MS Active Directory pair for LDAP/Kerberos etc
No issues there.
I have setup a client node that has the following services installed:
When I try and access HDFS after generating a kerberos TGT for my principal "dreeves", it works, but I cannot then use HDFS...
Please see below.
Any advice and assistance anyone could provide would be great !
Last login: Thu Jan 26 06:04:01 AEDT 2017 on pts/1id: cannot find name for group ID 33600512
Password for dreeves@{obfuscated-domain}.COM.AU: {obfuscated-password}
Ticket cache: FILE:/tmp/krb5cc_33601114Default principal: dreeves@{obfuscated-realm}.COM.AUValid starting Expires Service principal01/27/2017 08:27:18 01/27/2017 18:27:18 krbtgt/{obfuscated-domain}.COM.AU@{obfuscated-realm}.COM.AUrenew until 02/03/2017 08:27:07
ls: failure to login
Thanks,
Damion.
Created 01-26-2017 02:47 PM
Problem resolved....a case of PEBCAK....
I needed to generate the Kerberos user/principal keytab file using the "ktutil" command before trying to "kinit" using the keytab:
kinit dreeves@{obfuscated-realm}.COM.AU -k -t dreeves.keytab
Once that was completed, "hdfs dfs -ls /" worked without a problem.
Created 01-26-2017 02:47 PM
Problem resolved....a case of PEBCAK....
I needed to generate the Kerberos user/principal keytab file using the "ktutil" command before trying to "kinit" using the keytab:
kinit dreeves@{obfuscated-realm}.COM.AU -k -t dreeves.keytab
Once that was completed, "hdfs dfs -ls /" worked without a problem.