hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18947) HBase backups backup all tables once backed up irrespective of the table names passed to it.
Date Thu, 05 Oct 2017 15:06:01 GMT

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

Ted Yu commented on HBASE-18947:
--------------------------------

{code}
+      if (tempRequestedTableList != null) {
+       tempRequestedTableList.removeAll(incrTableSet);
{code}
tempRequestedTableList -> requestedTableList
Indentation is two spaces.

bq. The patch 1 line(s) with tabs.

Please replace the tab with spaces.

Is it possible to add a test (preventing regression) ?

> HBase backups backup all tables once backed up  irrespective of the table names passed
to it.
> ---------------------------------------------------------------------------------------------
>
>                 Key: HBASE-18947
>                 URL: https://issues.apache.org/jira/browse/HBASE-18947
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Amit Kabra
>            Assignee: Amit Kabra
>         Attachments: HBASE-18947.patch
>
>
> Take backup of test1,test2,test3,test11,test12,test13 
> and then take backup of only test2
> {code}./hbase backup -d create incremental hdfs://localhost:8020/test/ -t test2{code}
> It should only backup test2 but it backup all tables once backed up. This can be seen
in hdfs as backed up tables and logs show the same : 
> Logs show :
> 2017-09-25 19:29:39,170 DEBUG [main] impl.IncrementalTableBackupClient: For incremental
backup, current table set is [test1,test2,test3,test11, test12,test13]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message