Support Questions
Find answers, ask questions, and share your expertise

Location of keytab files

Location of keytab files

New Contributor

Hi,

 

I have enabled kerberos in my cloudera cluster using Cloudera Manager.

Kerberized cluster is running fine. But I'm unable to get the location of keytab files (eg. hdfs.keytab, yarn.keytab etc).

The keytab location property is also missing from the *-site.xml files.

 

Where can I get the location of those keytab files.

 

Regards,

Amit

3 REPLIES 3

Re: Location of keytab files

Rising Star

keytab files are managed by cloudera manager . you can find them in /var/run/cloudera-scm-agent/process

Re: Location of keytab files

New Contributor
export dirname=/var/run/cloudera-scm-agent/process/
sudo find $dirname -not -empty `-ls -l` | grep keytab
 

Re: Location of keytab files

They will be in the process directory for the component. For example:

 

hive.keytab is in: 

/var/run/cloudera-scm-agent/process/*-hive_on_tez-HIVESERVER2