Hi, I am trying to enable kerberos from ambari UI it works fine
when I am trying to add kerberos as a service through blueprint or api's, it fails to start namenode and master services. I am getting following error while NAMENODE FORMAT: java.io.IOException: Login failure for nn/host.server.com@SERVER.COM from keytab /etc/security/keytabs/nn.service.keytab: javax.security.javax.security.auth.login.LoginException: Unable to obtain password from user .
I could see principles have been created at kerberos server and keytab files are also been created in /etc/security/keytab
I have also tried kinit -kt /etc/security/keytab/nn.service.keytab nn/host.server.com@SERVER.COM
this gives an error :-
Keytab contains no suitable keys for host/host.server.com@SERVER.COM while getting initial credentials