Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 97297 invoked from network); 27 Apr 2010 21:24:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Apr 2010 21:24:56 -0000 Received: (qmail 2346 invoked by uid 500); 27 Apr 2010 21:24:56 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 2322 invoked by uid 500); 27 Apr 2010 21:24:56 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 2313 invoked by uid 99); 27 Apr 2010 21:24:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 21:24:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 21:24:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3RLOWPx022179 for ; Tue, 27 Apr 2010 21:24:32 GMT Message-ID: <23512289.42251272403472464.JavaMail.jira@thor> Date: Tue, 27 Apr 2010 17:24:32 -0400 (EDT) From: "Konstantin Shvachko (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Commented: (HDFS-1091) Implement listStatus that returns an Iterator of FileStatus MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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}} 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 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.