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 <[email protected]> wrote:

> Or the natural business key?
> On Feb 15, 2011 10:00 AM, "Jean-Daniel Cryans" <[email protected]> wrote:
>> Try UUIDs.
>> 
>> J-D
>> 
>> On Tue, Feb 15, 2011 at 8:57 AM, praba karan <[email protected]> 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
>>> 

Reply via email to