hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zhou Wei <zhouwe...@mails.tsinghua.edu.cn>
Subject Re: Does HBase support single-row transaction?
Date Fri, 16 May 2008 04:12:10 GMT
Bryan Duxbury wrote:
> Currently, it's not on our list of things to do. There are a number of 
> reasons why it would be better to use Zookeeper here than to try and 
> build it into HBase.
> That said, I think you could get everything you need if you tried 
> Zookeeper, using that to acquire locks on the row you need a 
> transaction on. It's supposedly very high performance and supports 
> your use case precisely.
> -Bryan

> On May 10, 2008, at 11:52 PM, Zhou Wei wrote:
>> Bryan Duxbury 写道:
>>> startUpdate is deprecated in TRUNK. Also, it doesn't do what you are 
>>> thinking it does. Committing a BatchUpdate is atomic across the 
>>> whole row, however. There is currently no way to make a get and a 
>>> commit transactional, though there is an issue open for 
>>> write-if-not-modified-since support. If this is something you need 
>>> we can talk about how it might be supported.

View raw message