hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Íñigo Goiri (JIRA) <j...@apache.org>
Subject [jira] [Created] (HDFS-14052) RBF: Use Router keytab for WebHDFS
Date Mon, 05 Nov 2018 18:43:00 GMT
Íñigo Goiri created HDFS-14052:
----------------------------------

             Summary: RBF: Use Router keytab for WebHDFS
                 Key: HDFS-14052
                 URL: https://issues.apache.org/jira/browse/HDFS-14052
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Íñigo Goiri
            Assignee: CR Hota


When the RouterHttpServer starts it does:
{code}
    NameNodeHttpServer.initWebHdfs(conf, httpAddress.getHostName(), httpServer,
        RouterWebHdfsMethods.class.getPackage().getName());
{code}
This function is in the NN and is pretty generic.
However, it then calls to NameNodeHttpServer#getAuthFilterParams, which does:
{code}
    String httpKeytab = conf.get(DFSUtil.getSpnegoKeytabKey(conf,
        DFSConfigKeys.DFS_NAMENODE_KEYTAB_FILE_KEY));
{code}
In most cases, the regular web keytab will kick in, but we should make this a parameter and
load the Router one just in case.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org


Mime
View raw message