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

HA: Balancer should use logical uri for creating failover proxy with HA enabled.

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      Presently Balancer uses real URI for creating the failover proxy.
      Since the failover proxy checks for uri consistency, we should pass logical uri for creating failover proxy instead of instead of real URI. Presently will work only with default port.

      java.io.IOException: Port 49832 specified in URI hdfs://127.0.0.1:49832 but host '127.0.0.1' is a logical (HA) namenode and does not use port information.
      at org.apache.hadoop.hdfs.HAUtil.getFailoverProxyProviderClass(HAUtil.java:224)
      at org.apache.hadoop.hdfs.HAUtil.createFailoverProxy(HAUtil.java:247)
      at org.apache.hadoop.hdfs.server.balancer.NameNodeConnector.<init>(NameNodeConnector.java:80)
      at org.apache.hadoop.hdfs.server.balancer.Balancer.run(Balancer.java:1401)

      Attachments

        1. HDFS-2979.patch
          4 kB
          Uma Maheswara Rao G
        2. HDFS-2979-HDFS-1623.patch
          18 kB
          Aaron Myers
        3. HDFS-2979-HDFS-1623.patch
          23 kB
          Aaron Myers
        4. HDFS-2979-HDFS-1623.patch
          23 kB
          Aaron Myers
        5. HDFS-2979-HDFS-1623.patch
          28 kB
          Aaron Myers
        6. HDFS-2979-HDFS-1623.patch
          28 kB
          Aaron Myers

        Activity

          People

            atm Aaron Myers
            umamaheswararao Uma Maheswara Rao G
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: