hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason <urg...@gmail.com>
Subject Re: Need unique RowID in the Hbase table
Date Tue, 15 Feb 2011 18:58:45 GMT
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 <ryanobjc@gmail.com> wrote:

> Or the natural business key?
> On Feb 15, 2011 10:00 AM, "Jean-Daniel Cryans" <jdcryans@apache.org> wrote:
>> Try UUIDs.
>> 
>> J-D
>> 
>> On Tue, Feb 15, 2011 at 8:57 AM, praba karan <prabaster@gmail.com> 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
>>> 

Mime
View raw message