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

Fix revert: Add new op GETFILEBLOCKLOCATIONS to WebHDFS REST API

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0
    • Component/s: webhdfs
    • Labels:
      None
    • Target Version/s:

      Description

      HDFS-11156 was reverted because the implementation was non optimal, based on the suggestion from Rushabh S Shah, 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.008.patch
          18 kB
          Weiwei Yang
        2. HDFS-12459.007.patch
          18 kB
          Weiwei Yang
        3. HDFS-12459.006.patch
          18 kB
          Weiwei Yang
        4. HDFS-12459.006.patch
          18 kB
          Weiwei Yang
        5. HDFS-12459.005.patch
          19 kB
          Weiwei Yang
        6. HDFS-12459.004.patch
          18 kB
          Weiwei Yang
        7. HDFS-12459.003.patch
          18 kB
          Weiwei Yang
        8. HDFS-12459.002.patch
          18 kB
          Weiwei Yang
        9. HDFS-12459.001.patch
          31 kB
          Weiwei Yang

          Issue Links

            Activity

              People

              • Assignee:
                cheersyang Weiwei Yang
                Reporter:
                cheersyang Weiwei Yang
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: