HBase REST API Locking Rows

2019-07-11 20:08发布

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....

标签: hbase
1条回答
太酷不给撩
2楼-- · 2019-07-11 20:32

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

查看更多
登录 后发表回答