HBase REST API Locking Rows

谁都会走 提交于 2019-12-11 03:33:41

问题


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



来源:https://stackoverflow.com/questions/13854288/hbase-rest-api-locking-rows

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!