[
https://issues.apache.org/jira/browse/HDFS-10466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15301176#comment-15301176
]
Hadoop QA commented on HDFS-10466:
----------------------------------
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 0s
{color} | {color:blue} Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} patch {color} | {color:red} 0m 3s {color}
| {color:red} HDFS-10466 does not apply to trunk. Rebase required? Wrong
Branch? See https://wiki.apache.org/hadoop/HowToContribute for help. {color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Patch URL |
https://issues.apache.org/jira/secure/attachment/12806262/HDFS-10466.patch |
| JIRA Issue | HDFS-10466 |
| Console output |
https://builds.apache.org/job/PreCommit-HDFS-Build/15571/console |
| Powered by | Apache Yetus 0.2.0 http://yetus.apache.org |
This message was automatically generated.
> DistributedFileSystem.listLocatedStatus() should return HdfsBlockLocation
> instead of BlockLocation
> --------------------------------------------------------------------------------------------------
>
> Key: HDFS-10466
> URL: https://issues.apache.org/jira/browse/HDFS-10466
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs
> Reporter: Juan Yu
> Assignee: Juan Yu
> Priority: Minor
> Attachments: HDFS-10466.patch
>
>
> https://issues.apache.org/jira/browse/HDFS-202 added a new API
> listLocatedStatus() to get all files' status with block locations for a
> directory. This is great that we don't need to call
> FileSystem.getFileBlockLocations() for each file. it's much faster (about
> 8-10 times).
> However, the returned LocatedFileStatus only contains basic BlockLocation
> instead of HdfsBlockLocation, the LocatedBlock details are stripped out.
> It should do the similar as DFSClient.getBlockLocations(), return
> HdfsBlockLocation which provide full block location details.
> The implementation of DistributedFileSystem. listLocatedStatus() retrieves
> HdfsLocatedFileStatus which contains all information, but when convert it to
> LocatedFileStatus, it doesn't keep LocatedBlock data. It's a simple (and
> compatible) change to make to keep the LocatedBlock details.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]