hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hairong Kuang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6870) Add FileSystem#listLocatedStatus to list a directory's content together with each file's block locations
Date Wed, 21 Jul 2010 22:17:18 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-6870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890928#action_12890928
] 

Hairong Kuang commented on HADOOP-6870:
---------------------------------------

Note that listLocatedStatus lists only files. So the API name might be better to be listFiles().
{code}
Iterator<LocatedFileStatus> listFiles(Path path, boolean isRecursive);
{code}

> Add FileSystem#listLocatedStatus to list a directory's content together with each file's
block locations
> --------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6870
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6870
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: fs
>    Affects Versions: 0.22.0
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>             Fix For: 0.22.0
>
>
> This jira implements the new FileSystem API as proposed in HDFS-202. The new API aims
to eliminate individual "getFileBlockLocations" calls to NN for each file in the input directory
of a job. Instead, a file's block locations are returned together with FileStatus when listing
a directory, thus improving getSplits performance.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message