Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Not A Problem
-
None
-
None
Description
Config from Documentation ( https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/HdfsNfsGateway.html )
<property>
<name> nfs.keytab.file </name>
<value>/etc/hadoop/conf/nfsserver.keytab</value> <!-- path to the nfs gateway keytab -->
</property>
<property>
<name> nfs.kerberos.principal </name>
<value>nfsserver/_HOST@YOUR-REALM.COM</value>
</property>
Config From Code
public static final String DFS_NFS_KEYTAB_FILE_KEY = "dfs.nfs.keytab.file"; public static final String DFS_NFS_USER_NAME_KEY = "dfs.nfs.kerberos.principal";