hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajith (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-15323) Hbase Rest CheckAndDeleteAPi should be able to delete more cells
Date Sat, 27 Feb 2016 02:52:18 GMT

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

Ajith updated HBASE-15323:
    Attachment: HBASE-15323 Rest API CheckAndDelete3.patch

Attached the patch which does not rely on 15290 changes to be in.

Rest API checkAndDelete currently only deletes the cell that it checks against.  Java API
for checkAndDelete checks for a condition and Delete object specifies the  cells or columnFamilies
to be deleted for that row.

This fix allows Rest API to pass in the Delete operations in the PUT call. The last cell in
the PUT is used for the Checking and earlier cells will be used for the Delete operation.

> Hbase Rest CheckAndDeleteAPi should be able to delete more cells
> ----------------------------------------------------------------
>                 Key: HBASE-15323
>                 URL: https://issues.apache.org/jira/browse/HBASE-15323
>             Project: HBase
>          Issue Type: Bug
>          Components: hbase
>    Affects Versions: 1.1.1
>         Environment: Linux And Windows
>            Reporter: Ajith
>         Attachments: HBASE-15323 Rest API CheckAndDelete3.patch
>   Original Estimate: 48h
>  Remaining Estimate: 48h
> Java CheckAndDelete API accepts Delete object which can be used to delete (a cell / cell
version / multiple cells / column family or a row), but the rest api only allows to delete
the cell (without any version)
> Need to add this capability to rest api.

This message was sent by Atlassian JIRA

View raw message