Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1623 High Availability Framework for HDFS NN
  3. HDFS-2624

HA: ConfiguredFailoverProxyProvider doesn't correctly stop ProtocolTranslators

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HA branch (HDFS-1623)
    • HA branch (HDFS-1623)
    • ha, hdfs-client
    • None

    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.

      Attachments

        1. hdfs-2624.txt
          2 kB
          Todd Lipcon

        Activity

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: