Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-6055 Offline Snapshots in HBase 0.96
  3. HBASE-7294

Check for snapshot file cleaners on start

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      Snapshots currently use the SnaphotHfileCleaner and SnapshotHLogCleaner to ensure that any hfiles or hlogs (respectively) that are currently part of a snapshot are not removed from their respective archive directories (.archive and .oldlogs).

      From Matteo Bertozzi:

      currently the snapshot cleaner is not in hbase-default.xml
      and there's no warning/exception on snapshot/restore operation, if not enabled.

      even if we add the cleaner to the hbase-default.xml how do we ensure that the user doesn't remove it?
      Do we want to hardcode the cleaner at master startup?
      Do we want to add a check in snapshot/restore that throws an exception if the cleaner is not enabled?

      Attachments

        1. HBASE-7294-v7.patch
          27 kB
          Matteo Bertozzi
        2. HBASE-7294-v6.patch
          23 kB
          Matteo Bertozzi
        3. HBASE-7294-v5.patch
          17 kB
          Matteo Bertozzi
        4. HBASE-7294-v4.patch
          17 kB
          Matteo Bertozzi
        5. HBASE-7294-v3.patch
          7 kB
          Matteo Bertozzi
        6. HBASE-7294-v2.patch
          7 kB
          Matteo Bertozzi
        7. HBASE-7294-v1.patch
          7 kB
          Matteo Bertozzi

        Activity

          People

            mbertozzi Matteo Bertozzi
            jesse_yates Jesse Yates
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: