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

Fix revert: Add new op GETFILEBLOCKLOCATIONS to WebHDFS REST API

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0, 3.1.4, 2.10.1
    • webhdfs
    • None

    Description

      HDFS-11156 was reverted because the implementation was non optimal, based on the suggestion from shahrs87, we should avoid creating a dfs client to get block locations because that create extra RPC call. Instead we should use NamenodeProtocols#getBlockLocations then covert LocatedBlocks to BlockLocation[].

      Attachments

        1. HDFS-12459.001.patch
          31 kB
          Weiwei Yang
        2. HDFS-12459.002.patch
          18 kB
          Weiwei Yang
        3. HDFS-12459.003.patch
          18 kB
          Weiwei Yang
        4. HDFS-12459.004.patch
          18 kB
          Weiwei Yang
        5. HDFS-12459.005.patch
          19 kB
          Weiwei Yang
        6. HDFS-12459.006.patch
          18 kB
          Weiwei Yang
        7. HDFS-12459.006.patch
          18 kB
          Weiwei Yang
        8. HDFS-12459.007.patch
          18 kB
          Weiwei Yang
        9. HDFS-12459.008.patch
          18 kB
          Weiwei Yang

        Issue Links

          Activity

            People

              cheersyang Weiwei Yang
              cheersyang Weiwei Yang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: