[
https://issues.apache.org/jira/browse/HADOOP-6692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hairong Kuang updated HADOOP-6692:
----------------------------------
Attachment: listStatusItor.patch
This patch:
# add Iterator<FileStatus> listStatus(Path) to FileContext;
# move FileStatus[] listStatus(Path) to FileContext#Util;
# add Iterator<FileStatus> listStatusItor(Path) to AbstractFileSystem which
provides a default implementation by using FileStatus[] listStatus(Path);
# add unit test to test Iterator<FileStatus> listStatus(Path).
> Propose change to FileContext#listStatus
> ----------------------------------------
>
> Key: HADOOP-6692
> URL: https://issues.apache.org/jira/browse/HADOOP-6692
> Project: Hadoop Common
> Issue Type: Sub-task
> Reporter: Hairong Kuang
> Assignee: Hairong Kuang
> Attachments: listStatusItor.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.