hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15290) Hbase Rest CheckAndAPI should save other cells along with compared cell
Date Wed, 24 Feb 2016 04:50:18 GMT

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

Enis Soztutar commented on HBASE-15290:
---------------------------------------

Yes, the Java API contract (as in Table.checkAndDelete) receives a Delete object, where the
Delete() instance can be only for a row, cf or column. Just checked the code. I think there
are at least two problems here:
 - RemoteHTable.checkAndDelete() does not send all the cells that is in the Delete to the
REST API call. We can fix this here or some follow up jira since this is existing behavior.

 - RowResource.checkAndDelete() also does not honor the cells in the RowModel. Actually, it
will only check and delete a single cell. 

> Hbase Rest CheckAndAPI should save other cells along with compared cell
> -----------------------------------------------------------------------
>
>                 Key: HBASE-15290
>                 URL: https://issues.apache.org/jira/browse/HBASE-15290
>             Project: HBase
>          Issue Type: Bug
>          Components: hbase
>    Affects Versions: 1.1.1
>         Environment: Linux and windows
>            Reporter: Ajith
>              Labels: easyfix
>         Attachments: HBASE-15290-checkAndPut.patch, HBASE-15290-checkAndPut_Comments.patch,
checkputfix2.patch
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Java CheckAndPut API allows users to save Cells (C1..C5) while comparing a Cell C1.
> But in Rest API, even though caller sent multiple cells, hbase rest code is ignoring
all the cells except for compare cell.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message