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

Enable restore-snapshot and clone-snapshot to use external specified snapshot locatioin

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Currently restore-snapshot and clone-snapshot only work with the snapshots that are under hbase root.dir.

      In combination with export-snapshot, this means the snapshot needs to be exported out to another hbase root.dir, or back and forth eventually to a hbase root.dir.

      There are a few issues with the approach.

      We've known that export-snapshot has a limitation dealing with secure cluster, where the external user needs to have read access to hbase root.dir data, by-passing table ACL check.

      The second problem is when we try to use or bring back the exported snapshot for restore/clone. They have to be in the target hbase root.dir, and needs write permission to get it in there.

      Again we will have permission problem.

      This ticket tries to deal with the second problem, clone and restore from exported snapshots. The exported snapshots can be on the same cluster, but the user may not have write permission to move them to hbase root.dir.

      We should have a solution that allow clone/restore snapshot from an external path that keeps snapshot backups. And also do it with security permission in mind.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jinghe Jerry He
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: