hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-1091) Implement listStatus that returns an Iterator of FileStatus
Date Tue, 27 Apr 2010 21:24:32 GMT

    [ https://issues.apache.org/jira/browse/HDFS-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12861551#action_12861551
] 

Konstantin Shvachko commented on HDFS-1091:
-------------------------------------------

# {{@Override}} notation for {{Hdfs.listStatusIterator()}} should be un-commented. It would
be also useful to add a comment what it overrides, like
{code}
@Override // AbstractFileSystem
{code}
# In the {{Iterator<FileStatus>}} returned by {{Hdfs.listStatusIterator()}} the {{partialListing}}
member seem to be redundant. It is already a member of {{DirectoryListing}}, so you can use
{{thisListing.getPartialListing()}} instead.
# It would be good to have an explanatory message when you throw {{NoSuchElementException()}}
and {{UnsupportedOperationException()}}.

> Implement listStatus that returns an Iterator of FileStatus 
> ------------------------------------------------------------
>
>                 Key: HDFS-1091
>                 URL: https://issues.apache.org/jira/browse/HDFS-1091
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>    Affects Versions: 0.22.0
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>             Fix For: 0.22.0
>
>         Attachments: HdfsListStatusIterator.patch
>
>
> This jira is for an efficient implementation of the method Iterator<FileStatus>
listStatus(Path) in HDFS.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message