Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5449

WebHdfs compatibility broken between 2.2 and 1.x / 23.x

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 2.3.0
    • None
    • None
    • Reviewed

    Description

      Similarly to HDFS-5403, getFileBlockLocations() fail between old (1.x, 0.23.x) and new (2.x), but this is worse since both directions won't work. This is caused by the removal of "name" field from the serialized json format of DatanodeInfo.

      2.x namenode should include "name" (ip:port) in the response and 2.x webhdfs client should use "name", if "ipAddr" and "xferPort" don't exist in the response.

      Attachments

        1. HDFS-5449.patch
          2 kB
          Kihwal Lee
        2. HDFS-5449.patch
          2 kB
          Kihwal Lee
        3. HDFS-5449.trunk.patch
          6 kB
          Kihwal Lee
        4. HDFS-5449.trunk.patch
          6 kB
          Kihwal Lee
        5. HDFS-5449.branch-2.patch
          7 kB
          Kihwal Lee

        Issue Links

          Activity

            People

              kihwal Kihwal Lee
              kihwal Kihwal Lee
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: