Amit Kabra created HBASE-18932:
----------------------------------
Summary: Backups masking exception in a scenario and though it
fails , it shows success message.
Key: HBASE-18932
URL: https://issues.apache.org/jira/browse/HBASE-18932
Project: HBase
Issue Type: Bug
Reporter: Amit Kabra
Assignee: Amit Kabra
Scenario to reproduce :
* Take 1 full and incremental backup
* Delete the table
* Try to rerun the backups on it.
It fails with following error given failure message in between but finally it
shows backup successful.
===================
2017-10-02 15:29:25,339 DEBUG [main] impl.BackupSystemTable: Restoring
backup:system from snapshot
2017-10-02 15:29:28,148 DEBUG [main] impl.BackupSystemTable: Done restoring
backup system table
2017-10-02 15:29:28,148 DEBUG [main] impl.BackupSystemTable: Deleting
snapshot_backup_system from the system
2017-10-02 15:29:28,166 DEBUG [main] impl.BackupSystemTable: Done deleting
backup system table snapshot
2017-10-02 15:29:28,166 DEBUG [main] impl.TableBackupClient: Trying to cleanup
up target dir. Current backup phase: INCREMENTAL_COPY
2017-10-02 15:29:28,169 DEBUG [main] impl.BackupSystemTable: Finish backup
exclusive operation
2017-10-02 15:29:28,172 ERROR [main] impl.TableBackupClient: Backup
backup_1506938363641 *failed*.
Backup session backup_1506938363641 finished. Status: *SUCCESS*.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)