[ https://issues.apache.org/jira/browse/HBASE-20530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16468509#comment-16468509 ]
maxwellguo commented on HBASE-20530: ------------------------------------ I also meet this question ,and i have fixed this bug on my own code ,also i do some tests of backup and restore on hdfs and other fs. it looks like good. I just change the copy dest path of hfile (covered from wal ). after write some unit test ,i will attached the path latter. > Composition of backup directory containing namespace when restoring is > different from the actual hfile location > --------------------------------------------------------------------------------------------------------------- > > Key: HBASE-20530 > URL: https://issues.apache.org/jira/browse/HBASE-20530 > Project: HBase > Issue Type: Bug > Reporter: Ted Yu > Assignee: Vladimir Rodionov > Priority: Critical > > Here is partial listing of output from incremental backup: > {code} > 5306 2018-05-04 02:38 > hdfs://mycluster/user/hbase/backup_loc/backup_1525401467793/table_almphxih4u/cf1/5648501da7194783947bbf07b172f07e > {code} > When restoring, here is what HBackupFileSystem.getTableBackupDir returns: > {code} > fileBackupDir=hdfs://mycluster/user/hbase/backup_loc/backup_1525401467793/default/table_almphxih4u > {code} > You can see that namespace gets in the way, leading to inability of finding > the proper hfile. -- This message was sent by Atlassian JIRA (v7.6.3#76005)