hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Gorgan - SKIN <daniel.gor...@skin.ro>
Subject Modify rowKey in prePut hook
Date Tue, 24 Jul 2012 13:48:21 GMT
Hello,

I'm trying to implement something like autoIncrement in hbase's 
coprocessors.
If the rowKey I read in prePut is empty, I will generate a new one, be 
sure that it doesn't exists, and use that one. Also, the new key should 
return to client.
I'm trying to do this using coprocessors, I know I can do it on the 
client side, but I want to try it in coprocessors.

My question is, how can I modify the rowKey in prePut, if it's empty?

Thanks.

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