Return-Path: Delivered-To: apmail-hbase-user-archive@www.apache.org Received: (qmail 42601 invoked from network); 17 Feb 2011 05:34:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Feb 2011 05:34:23 -0000 Received: (qmail 16373 invoked by uid 500); 17 Feb 2011 05:34:22 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 15930 invoked by uid 500); 17 Feb 2011 05:34:19 -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 15922 invoked by uid 99); 17 Feb 2011 05:34:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Feb 2011 05:34:18 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of prabaster@gmail.com designates 209.85.214.169 as permitted sender) Received: from [209.85.214.169] (HELO mail-iw0-f169.google.com) (209.85.214.169) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Feb 2011 05:34:10 +0000 Received: by iwc10 with SMTP id 10so2115224iwc.14 for ; Wed, 16 Feb 2011 21:33:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=XOkExA76kX8w223Qw6fVdiEIoaMM7qDUID1cAil/0dA=; b=MHeRWghSfUNEW2WFuxCC9sPX7B9Rl+N8/wP5FBOT9yQssfOTa750yLHAlW0Z/DWGod YJkgLHOgT12eOH28NhoYc2rJfgidhpqmI8/nBB6JiIExG1VKYRjLdnw7T8EUbSV4+Xbh QPHvjlL3xxFABMArrjfTc6I2ph+4BPQYJJCzI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=MQr9kY2j1HX9sRbNvo2LWPPSt3D4OraehTO6YMPu8YFccKkUzZgMBXLLK4bkoZhsrc Kt4idz8oPS4SLYv1kIRippQqj5h5PnN8qVWq01iGP0hLv7GHVbJupUlLRfZYYz+Qp2dt pzlK0BXoRBx5BsiuYdLsbVWGpIgQRv1nR6Bug= MIME-Version: 1.0 Received: by 10.231.37.12 with SMTP id v12mr1247968ibd.83.1297920829375; Wed, 16 Feb 2011 21:33:49 -0800 (PST) Received: by 10.231.34.67 with HTTP; Wed, 16 Feb 2011 21:33:49 -0800 (PST) In-Reply-To: References: Date: Thu, 17 Feb 2011 11:03:49 +0530 Message-ID: Subject: Re: Need unique RowID in the Hbase table From: praba karan To: user@hbase.apache.org Cc: Jason Content-Type: multipart/alternative; boundary=0022152d6025fb43d0049c73bd60 X-Virus-Checked: Checked by ClamAV on apache.org --0022152d6025fb43d0049c73bd60 Content-Type: text/plain; charset=ISO-8859-1 Thanks Everyone. I used UUID, Thats working fine Regards Jason On Wed, Feb 16, 2011 at 12:28 AM, Jason wrote: > Or based on int/long: > > ID[i]=ID[i-1]+N > ID[0]=n > > N - number of mappers or reducers in whi ids are generated > n - task id > > > Sent from my iPhone 4 > > On Feb 15, 2011, at 10:26 AM, Ryan Rawson wrote: > > > Or the natural business key? > > On Feb 15, 2011 10:00 AM, "Jean-Daniel Cryans" > wrote: > >> Try UUIDs. > >> > >> J-D > >> > >> On Tue, Feb 15, 2011 at 8:57 AM, praba karan > wrote: > >>> Hi, > >>> > >>> I am having the Map Reduce program for the uploading the Bulk data into > > the > >>> Hbase-0.89 from HDFS file system. I need unique row ID for every row > >>> (millions of rows). So that overwriting in the hbase table is to be > > avoided. > >>> Any solution to overcome the Row ID problem without overwriting in the > > Hbase > >>> table? > >>> > >>> > >>> > >>> Regards > >>> Jason > >>> > --0022152d6025fb43d0049c73bd60--