Return-Path: Delivered-To: apmail-hbase-user-archive@www.apache.org Received: (qmail 92634 invoked from network); 22 Jun 2010 00:01:31 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Jun 2010 00:01:31 -0000 Received: (qmail 5141 invoked by uid 500); 22 Jun 2010 00:01:30 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 5056 invoked by uid 500); 22 Jun 2010 00:01:29 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 5048 invoked by uid 99); 22 Jun 2010 00:01:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jun 2010 00:01:29 +0000 X-ASF-Spam-Status: No, hits=-3.4 required=10.0 tests=AWL,RCVD_IN_DNSWL_MED,RCVD_IN_RP_SAFE X-Spam-Check-By: apache.org Received-SPF: unknown (athena.apache.org: error in processing during lookup of agsharma@ebay.com) Received: from [216.33.244.6] (HELO rhv-mipot-001.corp.ebay.com) (216.33.244.6) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jun 2010 00:01:23 +0000 DomainKey-Signature: s=corp; d=ebay.com; c=nofws; q=dns; h=X-EBay-Corp:X-IronPort-AV:Received:Received:From:To:Date: Subject:Thread-Topic:Thread-Index:Message-ID:References: In-Reply-To:Accept-Language:Content-Language: X-MS-Has-Attach:X-MS-TNEF-Correlator:acceptlanguage: x-ems-proccessed:x-ems-stamp:Content-Type: Content-Transfer-Encoding:MIME-Version:X-CFilter; b=wAGls2svFWPveVIjy/UVwa2CIrIMD6DwhJ5Z1pci9E/QVxmiFhcXrG5P ritP7kIfDQ65eFklZb2rsZtsZldp9iMjvp9wPRyvsGQnxseSX3BQUhP4F T1fIAKCYr3rzp6c; DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ebay.com; i=agsharma@ebay.com; q=dns/txt; s=corp; t=1277164883; x=1308700883; h=from:to:date:subject:message-id:references:in-reply-to: content-transfer-encoding:mime-version; z=From:=20"Sharma,=20Avani"=20|To:=20"u ser@hbase.apache.org"=20|Date:=20M on,=2021=20Jun=202010=2016:59:53=20-0700|Subject:=20RE: =20viewing=20versions=20on=20hbase=20shell|Message-ID:=20 |References:=20=0D=0A=20 |In-Reply-To:=20|Content-Transfer-Encoding:=20quoted -printable|MIME-Version:=201.0; bh=KZ6CvAyoIb4M9ee0+k4Zkw6w9jHLbXp/obFL+u9MPuU=; b=xGDcZO3Ndog+ZjmmDfTTddse9Js9fpC0xcK/T/VJBMPFBZw1mPNsagYS G7ns95Pj4WFjReZ3mOJKm5TYCxzzzVlW3/9+kJYBvQGnrS8HL+yL/KRX8 uIrAl/nTjJHRNAD; X-EBay-Corp: Yes X-IronPort-AV: E=Sophos;i="4.53,456,1272870000"; d="scan'208";a="66595518" Received: from rhv-vtenf-001.corp.ebay.com (HELO RHV-MEXHT-001.corp.ebay.com) ([10.112.113.52]) by rhv-mipot-001.corp.ebay.com with ESMTP; 21 Jun 2010 16:59:56 -0700 Received: from RHV-MEXMS-002.corp.ebay.com ([10.245.17.114]) by RHV-MEXHT-001.corp.ebay.com ([10.245.24.100]) with mapi; Mon, 21 Jun 2010 16:59:55 -0700 From: "Sharma, Avani" To: "user@hbase.apache.org" Date: Mon, 21 Jun 2010 16:59:53 -0700 Subject: RE: viewing versions on hbase shell Thread-Topic: viewing versions on hbase shell Thread-Index: AcsPYpw97dtrNRhESEOUC0YbrtDF4gCOvp8g Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US x-ems-proccessed: 10SqDH0iR7ekR7SRpKqm5A== x-ems-stamp: QY453FYCVYB6T5iAbmfeWA== Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-CFilter: Scanned Thanks, Ryan. Is it possible to also get the latest versions before a parti= cular timestamp on the shell , if I want to query older data ?=20 JG did provide me with the api call for the same - I need it for the shell = as well.=20 -----Original Message----- From: Ryan Rawson [mailto:ryanobjc@gmail.com]=20 Sent: Friday, June 18, 2010 8:50 PM To: user@hbase.apache.org Subject: Re: viewing versions on hbase shell Hey, In the shell you can ask for more versions by saying: get 'table', 'row', {COLUMN =3D> 'family', VERSIONS =3D> 4} I believe you have to specify the COLUMN (as either 'family' or 'family:qualifier') if you want to specify VERSIONS. As for versions via the API, there is only really 2 calls: Scan.setMaxVersions(int) Scan.setMaxVersions() these set either the requested versions or the max the family can store. There is a similar call for Get. PS: I just found 3 of your (unanswered) emails in my gmail spam folder. Sorry if it seems like no one is home - I know many of the hbase devs use gmail, so it's possible your email address is confusing things. -ryan On Fri, Jun 18, 2010 at 5:38 PM, Sharma, Avani wrote: > How can I find out how many versions a row has on hbase shell =A0and also= see that data ? > > Also, can someone point me to any documentation on working with versions = via the API. > > Thanks, > Avani > >