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
Attachments
Issue Links
- is broken by
-
HDFS-11156 Add new op GETFILEBLOCKLOCATIONS to WebHDFS REST API
- Resolved