[ 
https://issues.apache.org/jira/browse/FLINK-11868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17323342#comment-17323342
 ] 

Flink Jira Bot commented on FLINK-11868:
----------------------------------------

This issue is assigned but has not received an update in 7 days so it has been 
labeled "stale-assigned". If you are still working on the issue, please give an 
update and remove the label. If you are no longer working on the issue, please 
unassign so someone else may work on it. In 7 days the issue will be 
automatically unassigned.

> [filesystems] Introduce listStatusIterator API to file system
> -------------------------------------------------------------
>
>                 Key: FLINK-11868
>                 URL: https://issues.apache.org/jira/browse/FLINK-11868
>             Project: Flink
>          Issue Type: New Feature
>          Components: FileSystems
>            Reporter: Yun Tang
>            Assignee: Yun Tang
>            Priority: Major
>              Labels: stale-assigned
>             Fix For: 1.13.0
>
>
> From existed experience, we know {{listStatus}} is expensive for many 
> distributed file systems especially when the folder contains too many files. 
> This method would not only block the thread until result is return but also 
> could cause OOM due to the returned array of {{FileStatus}} is really large. 
> I think we should already learn it from FLINK-7266 and FLINK-8540.
> However, list file status under a path is really helpful in many situations. 
> Thankfully, many distributed file system noticed that and provide API such as 
> {{[listStatusIterator|https://hadoop.apache.org/docs/current/api/org/apache/hadoop/fs/FileSystem.html#listStatusIterator(org.apache.hadoop.fs.Path)]}}
>  to call the file system on demand.
>  
> We should also introduce this API and replace current implementation which 
> used previous {{listStatus}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to