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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: HA branch (HDFS-1623)
    • Fix Version/s: HA branch (HDFS-1623)
    • Component/s: ha, hdfs-client
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: