hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhangshibin (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-17325) Add batch delete capability to ImportTsv
Date Mon, 19 Dec 2016 05:44:58 GMT

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

zhangshibin edited comment on HBASE-17325 at 12/19/16 5:44 AM:
---------------------------------------------------------------

Do you mean delete or deleteall?
If this way ,it may be  slow and complicate to inject deletefamily   when using delete one
by one.
We provide an option in importTsv to choose inject deletefamily or not .
It likes we  bulkload  the data again,so it's fast and easy to do .


was (Author: zhangshibin):
Do you mean delete or deleteall?
If this way ,it may be  slow and complicate to inject deletefamily   when using delete one
by one.
We provide a option in importTsv to choose inject deletefamily or not .
It likes we  bulkload  the data again,so it's fast and easy to do .

> Add batch delete capability to ImportTsv 
> -----------------------------------------
>
>                 Key: HBASE-17325
>                 URL: https://issues.apache.org/jira/browse/HBASE-17325
>             Project: HBase
>          Issue Type: New Feature
>          Components: tooling
>            Reporter: zhangshibin
>              Labels: patch
>         Attachments: 0001-HBASE-17325-Add-batch-delete-capability-to-ImportTsv.patch
>
>
> Considering to batch delete data in table which we load from external files,this feature
add a switch key to enable batch delete.
> First,using the file we load to table and the bulkoutput function of ImportTsv to generate
hfiles in hdfs which contain the keyvalue of   'DeleteFamily' marker .Then the tool of org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles
is used to load hfiles into table intending to cover the data of whole family we need to delete.



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

Mime
View raw message