0
votes

I had the user data stored in HBase and i had c# client which uses HBase REST API to stores the data in HBase table. There is possibility of updating the user data by multiple threads. How can i update the rows in Table and how can i apply the locking system on the rows. NOTE:- I am using the HBase REST API.

2

2 Answers

0
votes

Can you point us to the rest api you are following? afaik i have not seen one which is not depricated.

Apart from that i beleive the rest api would have been build upon the hbase api. And every 'Put' operation in hbase holds a row lock. i.e. The writes are atomic so you dont really have to care.

0
votes

The online documentation does not yet describe the ?check=put and ?check=delete parameters. The source code seems to say that you should include an extra cell description at the end of your payload that specifies the old contents that must match before the operation is performed.