hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Sharma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7813) Bug in BulkDeleteEndpoint kills entire rows on COLUMN/VERSION Deletes
Date Mon, 11 Feb 2013 17:01:15 GMT

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

Varun Sharma commented on HBASE-7813:
-------------------------------------

Code follow for BulkDeleteEndpoint:

1) Delete delete = new Delete(row);
2) Find stuff which is present and then do deleteColumn and deleteColumns and deleteFamily
accordingly
3) Apply delete

If only 1) and 3) execute, entire row is deleted. If this makes sense, I have a patch which
should resolve this, I am seeing this in my setup.

Thanks !
                
> Bug in BulkDeleteEndpoint kills entire rows on COLUMN/VERSION Deletes
> ---------------------------------------------------------------------
>
>                 Key: HBASE-7813
>                 URL: https://issues.apache.org/jira/browse/HBASE-7813
>             Project: HBase
>          Issue Type: Bug
>          Components: Coprocessors
>    Affects Versions: 0.96.0, 0.94.4
>            Reporter: Varun Sharma
>            Assignee: Varun Sharma
>             Fix For: 0.96.0, 0.94.5
>
>
> Try a BulkDeleteEndpoint using DeleteType.COLUMN or DeleteType.VERSION and give it a
set of Columns which are not in the row.
> A Delete is constructed using just the row alone. No family/column/version is added and
it is applied, thus deleting the entire row.

--
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

Mime
View raw message