[
https://issues.apache.org/jira/browse/HBASE-20530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16463326#comment-16463326
]
Ted Yu commented on HBASE-20530:
--------------------------------
Thanks to [~romil.choksi] who first spotted the following during test involving
restoring:
{code}
2018-05-04 02:40:22,337|INFO|MainThread|machine.py:167 -
run()||GUID=de9adea2-3fd1-4420-aeea-a5ade575f750|2018-05-04 02:40:22,337 ERROR
[main] mapreduce.MapReduceRestoreJob: java.io.IOException: No input paths
specified in job
2018-05-04 02:40:22,338|INFO|MainThread|machine.py:167 -
run()||GUID=de9adea2-3fd1-4420-aeea-a5ade575f750|2018-05-04 02:40:22,338 DEBUG
[main] ipc.AbstractRpcClient: Stopping rpc client
2018-05-04 02:40:22,338|INFO|MainThread|machine.py:167 -
run()||GUID=de9adea2-3fd1-4420-aeea-a5ade575f750|java.io.IOException: Can not
restore from backup directory (check Hadoop and HBase logs)
2018-05-04 02:40:22,339|INFO|MainThread|machine.py:167 -
run()||GUID=de9adea2-3fd1-4420-aeea-a5ade575f750|at
org.apache.hadoop.hbase.backup.mapreduce.MapReduceRestoreJob.
run(MapReduceRestoreJob.java:120)
2018-05-04 02:40:22,339|INFO|MainThread|machine.py:167 -
run()||GUID=de9adea2-3fd1-4420-aeea-a5ade575f750|at
org.apache.hadoop.hbase.backup.util.RestoreTool.
incrementalRestoreTable(RestoreTool.java:205)
{code}
The above was due to missing the hfile produced during incremental backup.
> Composition of backup directory incorrectly contains namespace when restoring
> -----------------------------------------------------------------------------
>
> Key: HBASE-20530
> URL: https://issues.apache.org/jira/browse/HBASE-20530
> Project: HBase
> Issue Type: Bug
> Reporter: Ted Yu
> Priority: Major
>
> 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)