HBase REST API锁定行 [英] HBase REST API Locking Rows

查看:212
本文介绍了HBase REST API锁定行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用C#中的HBase REST API。我想实现锁定[HBase Java API中的行锁]
使用C#中的REST API检索行。帮助我解决这个问题....

解决方案

首先,行锁定已在 0.94 ,并将在 trunk ,所以你可能不想依赖它。

其次我不认为REST服务器有一行锁定API(请参阅此处可用资源)。 Rest服务器的文档位于此处



如果你想实现锁,你可以使用check和put。它在休息时不可用,但可在 Thrift2


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

解决方案

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 REST API锁定行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆