hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jameson Li <hovlj...@gmail.com>
Subject Re: HBase atomic update
Date Fri, 05 Feb 2016 08:33:08 GMT
it seems parallel-update issue for the same rowkey and column?
can you let the column with multi-versions and every update using a special
timestamp, ti will be work and bypass the parallel-update issue.
And when just two parallel request update
same-rowkey-same-column-same-timestamp, there isn't impossibility way to
solve it, it will let a random query success and another fail or retry.
If just need this cases, and not want random solves, Or maybe there is some
other way to let the parallel request have an ordered order, rather than
parallel in an same nanosecond.

2016-01-26 4:40 GMT+08:00 Yakubovich, Alexey <Alexey.Yakubovich@searshc.com>

> I am trying to master HBase, and vuala, I discover that so nice API
> components:
> checkAndPut, checkAndDelete, Increment, Append   (HTable)
> Or may be not so nice? So e.g. checkAndPut can atomically update the
> specified cell.
> But what if I want to update two cells (from one row) in one atomic
> operation? What if it’s two cells from two different rows, but in need to
> be updated atomically?
> What is the best way to achieve that?
> Thank you
> Alexey
> This message, including any attachments, is the property of Sears Holdings
> Corporation and/or one of its subsidiaries. It is confidential and may
> contain proprietary or legally privileged information. If you are not the
> intended recipient, please delete it without reading the contents. Thank
> you.


Thanks & Regards,
李剑 Jameson Li
Focus on Hadoop,Mysql

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message