Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
HA branch (HDFS-1623)
-
None
-
Reviewed
Description
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.