[ https://issues.apache.org/jira/browse/HDFS-12459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17038658#comment-17038658 ]
Kihwal Lee commented on HDFS-12459: ----------------------------------- We discovered HDFS-11156 was still in branch-2.10. Unreverted, it caused problems in testing. I reverted it from branch-2.10 and cherry-picked this Jira to branch-3.1 and branch-2.10. > Fix revert: Add new op GETFILEBLOCKLOCATIONS to WebHDFS REST API > ---------------------------------------------------------------- > > Key: HDFS-12459 > URL: https://issues.apache.org/jira/browse/HDFS-12459 > Project: Hadoop HDFS > Issue Type: Bug > Components: webhdfs > Reporter: Weiwei Yang > Assignee: Weiwei Yang > Priority: Major > Fix For: 3.2.0, 3.1.4, 2.10.1 > > Attachments: HDFS-12459.001.patch, HDFS-12459.002.patch, > HDFS-12459.003.patch, HDFS-12459.004.patch, HDFS-12459.005.patch, > HDFS-12459.006.patch, HDFS-12459.006.patch, HDFS-12459.007.patch, > HDFS-12459.008.patch > > > 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[]}}. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org