[ https://issues.apache.org/jira/browse/HDFS-13972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16652817#comment-16652817 ]
Íñigo Goiri commented on HDFS-13972: ------------------------------------ For HDFS-12512, we had to do HDFS-12945. In HDFS-12945, we switched the extraction of the ClientProtocol from the Namenode and then HDFS-12512 was able to reimplement {{getRpcClientProtocol()}} to inspect the Router instead of the Namenode. I think the approach should be similar: we refactor the JspHelper to have a method that checks the Namenode but then we subclass it (or similar) so we can have a version that gets a Router. I'm not very familiar with the JspHelper but I'm guessing we can make a {{RouterJspHelper}} or similar which extends the {{JspHelper}}. Anyway, in general, we should refactor either the {{NamenodeWebHdfsMethods}} or the {{JspHelper}} so we can tune it for the Router. We can do the refactor in trunk. > RBF: Support for Delegation Token (WebHDFS) > ------------------------------------------- > > Key: HDFS-13972 > URL: https://issues.apache.org/jira/browse/HDFS-13972 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Íñigo Goiri > Assignee: CR Hota > Priority: Major > > HDFS Router should support issuing HDFS delegation tokens through WebHDFS. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org