[ 
https://issues.apache.org/jira/browse/HADOOP-6692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hairong Kuang updated HADOOP-6692:
----------------------------------

    Release Note: This issue adds Iterator<FileStatus> listStatus(Path) to 
FileContext, moves FileStatus[] listStatus(Path) to FileContext#Util, and adds 
Iterator<FileStatus> listStatusItor(Path) to AbstractFileSystem which provides 
a default implementation by using FileStatus[] listStatus(Path).
     Component/s: fs

> Add FileContext#listStatus that returns an iterator
> ---------------------------------------------------
>
>                 Key: HADOOP-6692
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6692
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.22.0
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>             Fix For: 0.22.0
>
>         Attachments: listStatusItor.patch, listStatusItor1.patch, 
> listStatusItor2.patch
>
>
> Add a method  Iterator<FileStatus> listStatus(Path), which allows HDFS client 
> not to have the whole listing in the memory, benefit more from the iterative 
> listing added in HDFS-985. Move the current FileStatus[] listStatus(Path) to 
> be a utility method.

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

Reply via email to