hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars George (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-3339) Coprocessors: Increment pre/post hooks
Date Mon, 13 Dec 2010 23:58:03 GMT

    [ https://issues.apache.org/jira/browse/HBASE-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971087#action_12971087
] 

Lars George commented on HBASE-3339:
------------------------------------

The Coprocessor has that already but in the current implementation. From CoprocessorHost.java:

{code}
  public long preIncrementColumnValue(final byte [] row, final byte [] family,
      final byte [] qualifier, long amount, final boolean writeToWAL)
      throws IOException;
{code}

and from HRegionServer.java:

{code}
      if (region.getCoprocessorHost() != null) {
        amountVal = region.getCoprocessorHost().preIncrementColumnValue(row,
          family, qualifier, amountVal, writeToWAL);
      }
{code}

> Coprocessors: Increment pre/post hooks
> --------------------------------------
>
>                 Key: HBASE-3339
>                 URL: https://issues.apache.org/jira/browse/HBASE-3339
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Jonathan Gray
>             Fix For: 0.92.0
>
>
> The new Increment operation should have Coprocessor pre/post support like other client
operations.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message