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

Suresh Srinivas commented on HADOOP-6692:
-----------------------------------------

+1 for the patch.

> 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
>    Affects Versions: 0.22.0
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>             Fix For: 0.22.0
>
>         Attachments: listStatusItor.patch, listStatusItor1.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