HA: ConfiguredFailoverProxyProvider doesn't correctly stop ProtocolTranslators
------------------------------------------------------------------------------
Key: HDFS-2624
URL: https://issues.apache.org/jira/browse/HDFS-2624
Project: Hadoop HDFS
Issue Type: Sub-task
Affects Versions: HA branch (HDFS-1623)
Reporter: Todd Lipcon
Assignee: Todd Lipcon
Fix For: HA branch (HDFS-1623)
In the tip of branch, the direct proxies to the NN have been replaced by
ProtocolTranslator implementations. But, the proxy provider still calls
RPC.stopProxy, which generates a warning and doesn't actually stop the proxy.
We need to check if the protocol implementation is a Closeable and call close()
instead in that case.
--
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