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

Íñigo Goiri commented on HDFS-14051:
------------------------------------

Thanks [~crh] for the patch.
I would just do the change in the Namenode side.
In addition, I would change getAuthFilterParams() there to make it directly 
public and pass a parameter for the keytab; then we can just use it from the 
Router later.

> Refactor NameNodeHttpServer#initWebHdfs to specify local keytab
> ---------------------------------------------------------------
>
>                 Key: HDFS-14051
>                 URL: https://issues.apache.org/jira/browse/HDFS-14051
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Íñigo Goiri
>            Assignee: CR Hota
>            Priority: Major
>         Attachments: HDFS-14051-HDFS-13532.0.patch
>
>
> We use {{NameNodeHttpServer#initWebHdfs}} from {{RouterHttpServer}}.
> However, this relies on {{NameNodeHttpServer#getAuthFilterParams()}} which 
> uses:
> {code}
>     String httpKeytab = conf.get(DFSUtil.getSpnegoKeytabKey(conf,
>         DFSConfigKeys.DFS_NAMENODE_KEYTAB_FILE_KEY));
> {code}
> We should refactor this to be able to specify the keytab file.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to