# Configure Kerberos authentication for Hadoop data access nodes

In secure Hadoop environments, provide the keytab file location in the configuration file on data access nodes.

For Kerberos authentication, a keytab file is used to authenticate to the Key Distribution Center (KDC). Add the keytab file location as a property in the hdfs-site.xml configuration file on all data access nodes, including the master node. The hdfs-site.xml file is located under the hadoop_installation_directory/conf/ directory.

Example:

    <property>
    <name>hadoop.user.keytab.file</name>
    <value>*/etc/krb5.keytab*</value>
    </property>

To change the default path of the keytab file, enable the sHdfsKeytabFile additional setting.

×

Loading...