Kevin Geiszler created HBASE-29826:
--------------------------------------
Summary: Backup merge is failing because .backup.manifest cannot
be found
Key: HBASE-29826
URL: https://issues.apache.org/jira/browse/HBASE-29826
Project: HBase
Issue Type: Bug
Components: backup&restore
Reporter: Kevin Geiszler
IntegrationTestContinuousBackupRestore is failing during the merge() attempt
because .backup.manifest is not in the expected location. The manifest is
still in the backup directory, but the actual path to the manifest is incorrect.
For example, the correctly expected path is something like the following:
{code:java}
hdfs://localhost:60834/user/kgeiszler/test-data/7db8c206-5859-1fde-49d1-5e9bcadd8a62/backupIT/.tmp/backup_1768259498500/.backup.manifest
{code}
However, the actual path has the backup directory twice, such as the following:
{code:java}
hdfs://localhost:60834/user/kgeiszler/test-data/7db8c206-5859-1fde-49d1-5e9bcadd8a62/backupIT/.tmp/backup_1768259498500/backup_1768259498500/.backup.manifest
{code}
This may be happening because of the fs.rename() operation in
[MapReduceBackupMergeJob.java|https://github.com/apache/hbase/blob/HBASE-28957/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/mapreduce/MapReduceBackupMergeJob.java#L160].
--
This message was sent by Atlassian Jira
(v8.20.10#820010)