You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Erik Krogen (JIRA)" <ji...@apache.org> on 2017/03/10 18:59:04 UTC

[jira] [Updated] (HADOOP-14169) Implement listStatusIterator, listLocatedStatus for ViewFs

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

Erik Krogen updated HADOOP-14169:
---------------------------------
    Attachment: HADOOP-14169.000.patch

Attaching v0 patch with a very simple fix to implement {{listStatusIterator}}/{{listLocatedStatus}} on {{ChRootedFs}} and {{listStatusIterator}} on {{ViewFs}}. Minor refactor in {{ViewFs}} for code sharing between {{listStatusIterator}} and {{listLocatedStatus}}.

[~jira.shegalov], [~cnauroth], pinging based on previous involvement with the similar work in HADOOP-11812 - are either of you interested in reviewing?

> Implement listStatusIterator, listLocatedStatus for ViewFs
> ----------------------------------------------------------
>
>                 Key: HADOOP-14169
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14169
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: viewfs
>            Reporter: Erik Krogen
>            Assignee: Erik Krogen
>            Priority: Minor
>         Attachments: HADOOP-14169.000.patch
>
>
> Similar to what HADOOP-11812 did for ViewFileSystem, currently ViewFs does not respect optimizations to {{listStatusIterator}} or {{listLocatedStatus}}, using the naive implementations within {{AbstractFileSystem}}. This can cause performance issues if iterating over a large directory, especially if the locations are also needed. This can be easily fixed.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org