[
https://issues.apache.org/jira/browse/HDFS-14070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16684633#comment-16684633
]
CR Hota commented on HDFS-14070:
--------------------------------
[~elgoiri] Thanks for reviewing.
In RouterWebHDFSMethods (which extends NamenodeWebHdfsMethods), I plan to
override three methods i.e. getDelegationToken, cancelDelegationToken and
renewDelegationToken. In the override, we can use RouterRpcServer instead of
namenoderpcserver. With this refactoring namenode's webhdfs can continue to use
namenoderpcserver as that now becomes implementation detail instead of earlier
dependency on Namenode as an input parameter. We can this way re-use a lot of
current name node code.
Â
> Refactor NameNodeWebHdfsMethods to allow better extensibility
> -------------------------------------------------------------
>
> Key: HDFS-14070
> URL: https://issues.apache.org/jira/browse/HDFS-14070
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: CR Hota
> Assignee: CR Hota
> Priority: Major
> Attachments: HDFS-14070.001.patch
>
>
> Router extends NamenodeWebHdfsMethods, methods such as renewDelegationToken,
> cancelDelegationToken and generateDelegationTokens should be extensible.
> Router can then have its own implementation.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]