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

Christos Dosis commented on HBASE-26451:
----------------------------------------

Hi, [~psomogyi] thanks for your response.

The same happens also for additional lines?

After restoration, any new lines introduced after a backup was taken are still 
there and not deleted?

In such a case, MapReduce Import doesn't have any effect on tsdb tables, 
correct?

 

I am trying to compare MapReduce with Snapshot Export/Import tasks.

Snapshots are working differently and seem that we can import a table as it was 
when the backup was taken.

 

Thanks in advance! 

Chris

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

Reply via email to