Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
When the RouterHttpServer starts it does:
NameNodeHttpServer.initWebHdfs(conf, httpAddress.getHostName(), httpServer,
RouterWebHdfsMethods.class.getPackage().getName());
This function is in the NN and is pretty generic.
However, it then calls to NameNodeHttpServer#getAuthFilterParams, which does:
String httpKeytab = conf.get(DFSUtil.getSpnegoKeytabKey(conf,
DFSConfigKeys.DFS_NAMENODE_KEYTAB_FILE_KEY));
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.
Attachments
Attachments
Issue Links
- blocks
-
HDFS-13972 RBF: Support for Delegation Token (WebHDFS)
- Resolved
- is blocked by
-
HDFS-14051 Refactor NameNodeHttpServer#initWebHdfs to specify local keytab
- Resolved
-
HDFS-14307 RBF: Update tests to use internal Whitebox instead of Mockito
- Resolved
- is related to
-
HDFS-13972 RBF: Support for Delegation Token (WebHDFS)
- Resolved
- relates to
-
HDFS-12284 RBF: Support for Kerberos authentication
- Resolved