hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12321) Delete#deleteColumn seems not to work with bulkload
Date Wed, 22 Oct 2014 14:08:34 GMT

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

Anoop Sam John commented on HBASE-12321:
----------------------------------------

Delete#deleteColumn(byte[], byte[])   is supposed to delete one version of the column and
in case of the normal HTable API call, the HRS get the latest column and get its ts and assign
to this delete KV. In case of bulk load can you put this ts?  Are you really want to delete
an exact version or you want to delete a rk:column value(s)?  

> Delete#deleteColumn seems not to work with bulkload
> ---------------------------------------------------
>
>                 Key: HBASE-12321
>                 URL: https://issues.apache.org/jira/browse/HBASE-12321
>             Project: HBase
>          Issue Type: Bug
>          Components: Deletes, HFile, mapreduce
>    Affects Versions: 0.94.6
>            Reporter: Jan Lukavsky
>            Priority: Minor
>
> When using call to {{Delete#deleteColumn(byte[], byte[])}} to produce KeyValues that
are subsequently written to HFileOutputFormat and bulk loaded into HBase, the Delete seems
to be ignored. The reason for this is likely to be the missing (HConstants.LATEST_TIMESTAMP)
timestamp in the KeyValue with type {{KeyValue.Type.Delete}}. I think the RegionServer than
cannot delete the contents of the column due to mismatch in the timestamp.
> When using {{Delete#deleteColumns}} everything works fine, because of different type
{{KeyValue.Type.DeleteColumn}}.



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

Mime
View raw message