Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 61852 invoked from network); 6 Nov 2007 06:27:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Nov 2007 06:27:12 -0000 Received: (qmail 62436 invoked by uid 500); 6 Nov 2007 06:26:59 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 62402 invoked by uid 500); 6 Nov 2007 06:26:59 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 62393 invoked by uid 99); 6 Nov 2007 06:26:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2007 22:26:59 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2007 06:27:10 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A4CC171420D for ; Mon, 5 Nov 2007 22:26:50 -0800 (PST) Message-ID: <3452805.1194330410654.JavaMail.jira@brutus> Date: Mon, 5 Nov 2007 22:26:50 -0800 (PST) From: "stack (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-2157) [hbase] Make Scanners implement Iterable In-Reply-To: <9634373.1194329991356.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-2157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HADOOP-2157: -------------------------- Attachment: iterable.patch HADOOP-2157 Make Scanners implement Iterable. M src/contrib/hbase/src/test/org/apache/hadoop/hbase/TestScanner2.java (testStopRow, testIterator): Added tests. M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HScannerInterface.java Have this interface extend Iterable (and Closeable). M src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/SelectCommand.java Clear results (otherwise subsequent rows pick up the former values content). M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HTable.java (obtainScanner): added overrides that take a stopRow. (ClientScanner): Added an implementation of iterator method. M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HAbstractScanner.java M src/contrib/hbase/src/java/org/apache/hadoop/hbase/HRegion.java Added an iterator (Throws unsupported exception. No use for iterators on serverside). > [hbase] Make Scanners implement Iterable > ---------------------------------------- > > Key: HADOOP-2157 > URL: https://issues.apache.org/jira/browse/HADOOP-2157 > Project: Hadoop > Issue Type: New Feature > Components: contrib/hbase > Reporter: stack > Priority: Minor > Attachments: iterable.patch > > > Make hbase Scanners implement Iterable. > Also add to HTable a method for getting a scanner that has a start and end row (Formerly the won't fix HADOOP-1439). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.