HBase REST API Locking Rows

2019-07-11 20:14发布

问题:

I am using HBase REST API from C#. I want to implement the Locking [rowlock in HBase Java API] While retrieving the rows using REST API from C#. Help me on this issue....

回答1:

First the row locking has been deprecated in 0.94 and will be removed in trunk soon, so you might not want to rely on it.

Secondly I don't think that REST server has a row locking api (see here for the resources available). Docs for the Rest server are located here

If you want to implement locks you can use check and put. It's not available on rest, but it is available on Thrift2



标签: hbase