Created on 11-03-2015 01:42 AM - edited 09-16-2022 02:47 AM
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
Created 09-23-2021 06:59 AM
The keytabs are pushed from a database to a runtime location at startup of services, what you are describing as a configuration is not really viable from what I understand. You will see /var/run/cloudera-scm-agent/process/ but this is ephemeral, next restart will have another locaiton. You could experiment with trying to provide the manual keytabs through safety valve to the necessary services.
Created 03-17-2016 06:57 PM
keytab files are managed by cloudera manager . you can find them in /var/run/cloudera-scm-agent/process
Created 12-25-2019 02:22 AM
export dirname=/var/run/cloudera-scm-agent/process/
sudo find $dirname -not -empty `-ls -l` | grep keytab
Created on 03-24-2021 09:19 PM - edited 03-24-2021 09:20 PM
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
Created 09-23-2021 06:59 AM
The keytabs are pushed from a database to a runtime location at startup of services, what you are describing as a configuration is not really viable from what I understand. You will see /var/run/cloudera-scm-agent/process/ but this is ephemeral, next restart will have another locaiton. You could experiment with trying to provide the manual keytabs through safety valve to the necessary services.