[
https://issues.apache.org/jira/browse/HDFS-2526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aaron T. Myers updated HDFS-2526:
---------------------------------
Attachment: HDFS-2526.patch
Patch which addresses the issue. No tests included since this is just a
refactor.
> (Client)NamenodeProtocolTranslatorR23 do not need to keep a reference to
> rpcProxyWithoutRetry
> ---------------------------------------------------------------------------------------------
>
> Key: HDFS-2526
> URL: https://issues.apache.org/jira/browse/HDFS-2526
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client, name-node
> Affects Versions: 0.24.0
> Reporter: Aaron T. Myers
> Assignee: Aaron T. Myers
> Attachments: HDFS-2526.patch
>
>
> HADOOP-7607 made it so that when wrapping an RPC proxy with another proxy,
> one need not hold on to the underlying proxy object to release resources on
> close. Both {{ClientNamenodeProtocolTranslatorR23}} and
> {{NamenodeProtocolTranslatorR23}} do not take advantage of this fact. They
> both also unnecessarily declare {{getProxyWithoutRetry}} methods which are
> unused.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira