hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Stepachev <oct...@gmail.com>
Subject Re: Determining the unqiue row keys for Hbase table
Date Tue, 08 Feb 2011 21:03:09 GMT
You can use HTable.incrementColumnValue. Of cource you can increment in
steps (f.e. 100) and
reduce amount of rpc generetated by you MR jobs.

2011/2/7 som_shekhar <kolluru.sharma@wipro.com>

>
> Hi All,
> I would like to know how to provide the unique row names for hbase table.
> Since if there are similar row keys then they will be overwritten in the
> hbase table.
> I am  writing the map reduce job which will read the file from the HDFS and
> will update the table in the mapper function only. for the time being i am
> not using  the reducer.
>
> if i append the session id with the row keys, then is it guarnteed to have
> the unique key?
>
> Regards,
> Shekhar
> --
> View this message in context:
> http://old.nabble.com/Determining-the-unqiue-row-keys-for-Hbase-table-tp30860983p30860983.html
> Sent from the HBase User mailing list archive at Nabble.com.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message