hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-2292) Need to be able to specify a custom RowLock for incrementColumnValue
Date Sun, 08 Jun 2014 21:57:06 GMT

     [ https://issues.apache.org/jira/browse/HBASE-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Andrew Purtell resolved HBASE-2292.

    Resolution: Not a Problem
      Assignee:     (was: Benoit Sigoure)

Substantial changes in this area since issue was initially filed. Stale issue. Reopen if still
relevant (if there's new activity)

> Need to be able to specify a custom RowLock for incrementColumnValue 
> ---------------------------------------------------------------------
>                 Key: HBASE-2292
>                 URL: https://issues.apache.org/jira/browse/HBASE-2292
>             Project: HBase
>          Issue Type: Improvement
>          Components: Client, regionserver
>    Affects Versions: 0.20.3
>            Reporter: Benoit Sigoure
>            Priority: Minor
> I'm grabbing my own {{RowLock}} on a given row and then I want to do an ICV on the row
(among other things) while I hold the lock.  Unlike {{Get}}, {{Put}} and whatnot, there's
no way to specify your own {{RowLock}} when doing an ICV.  Technically, you can live without
this since you can get just a {{Get}} followed by a {{Put}} after having manually incremented
the value, which is guaranteed to work as you hold the {{RowLock}} on that row, but it would
be nice to be able to just do an ICV.
> Right now, {{incrementColumnValue}} attempts to lock the row again (which is normal),
thus causing my client to "deadlock" itself until its {{RowLock}}'s lease expires.

This message was sent by Atlassian JIRA

View raw message