hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9588) Expose checkAndPut/checkAndDelete with comparators to HTableInterface
Date Fri, 20 Sep 2013 17:23:52 GMT

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

Ted Yu commented on HBASE-9588:

+    throw new IOException("checkAndPut with comparator not supported");
Please use UnsupportedOperationException above.
> Expose checkAndPut/checkAndDelete with comparators to HTableInterface
> ---------------------------------------------------------------------
>                 Key: HBASE-9588
>                 URL: https://issues.apache.org/jira/browse/HBASE-9588
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 0.98.0
>            Reporter: Robert Roland
>         Attachments: checkAndPut_HBASE-9588_0.94.patch, checkAndPut_HBASE-9588_TRUNK.patch,
> HRegionInterface allows you to specify a comparator to checkAndPut and checkAndDelete,
but that isn't available to the standard HTableInterface.
> The attached patches expose these functions to the client. It adds two methods to HTableInterface,
which required implementing in several places.
> They are not implemented in RemoteHTable - I couldn't see an obvious way to implement
there. Following the pattern of increment, batch, etc, they are "not supported."

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message