Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-27542

Remove unneeded distcp log cleanup after incremental backups

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha-3
    • 2.6.0, 3.0.0-alpha-4
    • backup&restore
    • None

    Description

      During the completion step of incremental backups, the TableBackupClient ensures distcp logs are cleaned up. However, DistCp already ensures that the metafolder, where the distcp logs are stored, is cleaned up via the CopyCommitter.

      Additionally, when running in an external yarn cluster external to hbase, this causes issues as it assumes a common filesystem.

      The TableBackupClient cleanup method should be able to be safely removed.

      e: After digging in to this even more, the `_distcp_log` path used in the `TableBackupClient` is not actually the correct path used by distcp.

      Attachments

        Issue Links

          Activity

            People

              jlee Jarryd Lee
              jlee Jarryd Lee
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: