You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jarryd Lee (Jira)" <ji...@apache.org> on 2022/12/21 01:08:00 UTC
[jira] [Created] (HBASE-27542) Remove unneeded distcp log cleanup after incremental backups
Jarryd Lee created HBASE-27542:
----------------------------------
Summary: Remove unneeded distcp log cleanup after incremental backups
Key: HBASE-27542
URL: https://issues.apache.org/jira/browse/HBASE-27542
Project: HBase
Issue Type: Improvement
Components: backup&restore
Affects Versions: 3.0.0-alpha-3
Reporter: Jarryd Lee
During the completion step of incremental backups, the [TableBackupClient|https://github.com/apache/hbase/blob/2c3abae18aa35e2693b64b143316817d4569d0c3/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/TableBackupClient.java#L343-L355] ensures distcp logs are cleaned up. However, [DistCp|https://github.com/apache/hadoop/blob/b87c0ea7ebde3edc312dcc8938809610a914df7f/hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/DistCp.java#L465-L476] already ensures that the metafolder, where the distcp logs are stored, is cleaned up via a [shutdown hook|https://github.com/apache/hadoop/blob/b87c0ea7ebde3edc312dcc8938809610a914df7f/hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/DistCp.java#L439-L442].
The TableBackupClient cleanup method should be able to be safely removed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)