[ 
https://issues.apache.org/jira/browse/HDFS-7094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14140915#comment-14140915
 ] 

Stephen Chu commented on HDFS-7094:
-----------------------------------

Hi, [~brahma].

The documentation (which corresponds to version 2.5.1) is actually correct 
because in HDFS-6056 (which went into 2.5.0), the NFS configs were changed from 
{{dfs.nfs.keytab.file}} to {{dfs.nfs.keytab.file}}. Note that in the patch, 
DeprecationDeltas were added, so users can use the {{dfs.nfs.}} prefix for some 
configs.

If you look at {{org.apache.hadoop.hdfs.nfs.conf.NfsConfigKeys}} on branch-2, 
you'll see the up-to-date NFS config names.

Thanks,
Stephen



> [ HDFS NFS ] TYPO in NFS configurations from documentation.
> -----------------------------------------------------------
>
>                 Key: HDFS-7094
>                 URL: https://issues.apache.org/jira/browse/HDFS-7094
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: documentation
>            Reporter: Brahma Reddy Battula
>            Assignee: Brahma Reddy Battula
>            Priority: Critical
>
>  
>   *{color:blue}Config from Documentation{color}*    ( 
> https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/HdfsNfsGateway.html
>  )
> <property>
>     <name> *{color:red}nfs.keytab.file{color}* </name>
>     <value>/etc/hadoop/conf/nfsserver.keytab</value> <!-- path to the nfs 
> gateway keytab -->
>   </property> 
>   <property>
>     <name> *{color:red}nfs.kerberos.principal{color}* </name>
>     <value>nfsserver/[email protected]</value>
>   </property>
>  *{color:blue}Config From Code{color}* 
> {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";
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to