-Re: Determining the unqiue row keys for Hbase table
Andrey Stepachev 2011-02-08, 21:03
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 <[EMAIL PROTECTED]>
> 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?
> View this message in context:
> Sent from the HBase User mailing list archive at Nabble.com.