[
https://issues.apache.org/jira/browse/HDFS-14051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16677094#comment-16677094
]
Íñigo Goiri commented on HDFS-14051:
------------------------------------
+1 on [^HDFS-14051.0.patch].
This is just a refactor and no change in functionality so no need for unit
tests.
Committing to trunk.
> 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.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]