You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Peter Somogyi (Jira)" <ji...@apache.org> on 2021/11/17 15:36:00 UTC
[jira] [Resolved] (HBASE-26451) Hbase Export/Import via MapReduce job
[ https://issues.apache.org/jira/browse/HBASE-26451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Somogyi resolved HBASE-26451.
-----------------------------------
Resolution: Not A Bug
> Hbase Export/Import via MapReduce job
> -------------------------------------
>
> Key: HBASE-26451
> URL: https://issues.apache.org/jira/browse/HBASE-26451
> Project: HBase
> Issue Type: Bug
> Components: backup&restore
> Affects Versions: 2.0.1
> Reporter: Christos Dosis
> Priority: Major
>
> Hi Hbase support team,
>
> While using the MapReduce job with export/import commands we have the below behaviour.
>
> {+}Step1{+}: I have a hbase table(tsdb) with 3 rows. and export the table like below:
> /opt/hbase/bin/hbase org.apache.hadoop.hbase.mapreduce.Export tsdb file:///opt/hbase/backup/tsdb
> {+}Step2{+}: Then I delete 1 row.
> {+}Step3{+}: Then I import tsdb table from the exported data from Step 1.
> /opt/hbase/bin/hbase org.apache.hadoop.hbase.mapreduce.Import tsdb file:///opt/hbase/backup/tsdb
>
> There are still only 2 rows in the table. Is this a valid behaviour?
>
> Br,
> Chris
--
This message was sent by Atlassian Jira
(v8.20.1#820001)