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