If you use Kerberos authentication, configure configuration files in Secure Agent to work with the Kerberos Key Distribution Center (KDC).
Ensure that you know the location of the following configuration files on your machine:
•hdfs.keytab
•core-site.xml
•hdfs-site.xml
1Open the hosts file located in the following directory on the Secure Agent machine: /etc/hosts
2Add the KDC server IP address to the hosts file in the following format: <KDC Server IP address> <Fully Qualified Name of the KDC server> <Alias Name>
3Save and close the hosts file.
4Copy the krb5.conf file to the following directory: <Secure Agent installation directory>/jdk8/jre/lib/security
5Navigate to the directory on the Hadoop cluster node where you store the following files:
- hdfs.keytab
- core-site.xml
- hdfs-site.xml
6Copy KEYTAB and XML files from the Hadoop cluster node to a local Secure Agent directory, for example : /data/Kerberos
You can modify the Kerberos configuration file.
The following code shows a sample Kerberos configuration file: