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

Rakesh Radhakrishnan resolved HDDS-4360.
----------------------------------------
    Resolution: Won't Fix

> ListFileStatus : list all the descendants of a given dir recursively
> --------------------------------------------------------------------
>
>                 Key: HDDS-4360
>                 URL: https://issues.apache.org/jira/browse/HDDS-4360
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Rakesh Radhakrishnan
>            Assignee: Rakesh Radhakrishnan
>            Priority: Major
>
> This task is to handle listing files with recursive flag {{true}}. Here it 
> has to list all the descendants of a given directory.
> {code}
> OzoneManagerFS#listStatus(keyArgs, recursive, startKey, numEntries);
> {code}
> +Hint:+ 
> When recursive flag=true, parentID can change between two pages. Say, 
> Constants.LISTING_PAGE_SIZE = 1024.
> For example: OM has a namespace like,
> {code:java}
> /dir1/1...1Million files and /dir1/dir2/1...1Million files.
> /dir1/1...1Million directories and /dir1/dir2/1...1Million directories.
> {code}
> Listing "{{/dir1"}} will change its parentID when fetching the files under 
> "{{/dir1/dir2"}}
>  which will be taken from {{startKey="/dir1/dir2"}} value.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to