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

Suresh Srinivas commented on HDFS-4540:
---------------------------------------

{noformat}
+          String httpKeytabKey = 
DFSConfigKeys.DFS_WEB_AUTHENTICATION_KERBEROS_KEYTAB_KEY;
+          if (httpKeytabKey == null) {
+            httpKeytabKey = DFSConfigKeys.DFS_NAMENODE_KEYTAB_FILE_KEY;
+          }
{noformat}

Should null check be {{conf.get(httpKeytabKey) == null}}?
                
> namenode http server should use the web authentication keytab for spnego 
> principal
> ----------------------------------------------------------------------------------
>
>                 Key: HDFS-4540
>                 URL: https://issues.apache.org/jira/browse/HDFS-4540
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.0.3-alpha
>            Reporter: Arpit Gupta
>            Assignee: Arpit Gupta
>         Attachments: HDFS-4540.patch
>
>
> This is similar to HDFS-4105. in the NameNodeHttpServer.start() initSpnego 
> should look for dfs.web.authentication.kerberos.keytab before using 
> dfs.namenode.keytab.file.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to