Return-Path: Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: (qmail 37858 invoked from network); 27 Jan 2011 23:11:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Jan 2011 23:11:45 -0000 Received: (qmail 1975 invoked by uid 500); 27 Jan 2011 23:11:44 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 1853 invoked by uid 500); 27 Jan 2011 23:11:44 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 1845 invoked by uid 99); 27 Jan 2011 23:11:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jan 2011 23:11:43 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [204.235.122.16] (HELO obmail.carrieriq.com) (204.235.122.16) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jan 2011 23:11:38 +0000 From: Vladimir Rodionov To: "dev@hbase.apache.org" Date: Thu, 27 Jan 2011 15:08:56 -0800 Subject: Scan operator ignores setMaxVersions (0.20.6) Thread-Topic: Scan operator ignores setMaxVersions (0.20.6) Thread-Index: AQHLvneAm1wXX+h1REu0rHvuQcxDZg== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Although this version is not supported but may be somebody can advice how t= o get ALL versions of rows from HTable scan? This code: public Iterator getUploadsByProfileId(String profile, long start, long end) throws IOException { =20 Scan scan =3D new Scan(getStartKey(profile), getEndKey(profile)); scan.addColumn(COLFAMILY, COL_REF); scan.addColumn(COLFAMILY, COL_UPLOAD); scan.setTimeRange(start, end); =20 scan.setMaxVersions(); ResultScanner rs =3D this.getScanner(scan); return new ResultScannerIterator(rs); } does not seem work correctly (only last versions of rows get into the resul= t set) Best regards, Vladimir Rodionov Principal Platform Engineer Carrier IQ, www.carrieriq.com e-mail: vrodionov@carrieriq.com