[
https://issues.apache.org/jira/browse/HDFS-8598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yong Zhang updated HDFS-8598:
-----------------------------
Description:
If we want to get all files block locations in one directory, we have to call
getFileBlockLocations for each file, it will take long time because of too many
request.
LocatedFileStatus has block location, but we can find it also call
getFileBlockLocations for each file in DFSClient. this jira is trying to
optimize with only one RPC.
was:
If we want to get all files block locations in one directory, we have to call
getFileBlockLocations for each file, it will take long time because of too many
request.
In LocatedFileStatus has blockLocation, but we can find it also call
getFileBlockLocations for each file. this jira is trying to optimize with only
one RPC.
Summary: Add and optimize for get LocatedFileStatus in DFSClient
(was: Add BlockLocation for HdfsFileStatus and FileStatus)
> Add and optimize for get LocatedFileStatus in DFSClient
> --------------------------------------------------------
>
> Key: HDFS-8598
> URL: https://issues.apache.org/jira/browse/HDFS-8598
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Yong Zhang
> Assignee: Yong Zhang
>
> If we want to get all files block locations in one directory, we have to call
> getFileBlockLocations for each file, it will take long time because of too
> many request.
> LocatedFileStatus has block location, but we can find it also call
> getFileBlockLocations for each file in DFSClient. this jira is trying to
> optimize with only one RPC.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)