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

Support snapshot owner

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.1.0, 2.0.0
    • None
    • None
    • Reviewed

    Description

      In current codebase, the table snapshot operations only can be done by the global admin , not by the table admin.

      There is a multi-tenant hbase cluster, each table has different snapshot policies, eg: do snapshot per week, or snapshot after the new data are imported.
      We want to release the snapshot permission to each table admin.

      According to mbertozzi's suggestion, we implement the snapshot owner feature.

      • The user with table admin permission can create snapshot and the owner of this snapshot is this user.
      • The owner of snapshot can delete and restore the snapshot.
      • Only the user with global admin permission can clone a snapshot, for this operation creates a new table.

      Attachments

        1. HBASE-11869-trunk-v1.diff
          28 kB
          Shaohui Liu
        2. HBASE-11869-trunk-v3.diff
          29 kB
          Shaohui Liu
        3. HBASE-11869-trunk-v4.diff
          29 kB
          Shaohui Liu
        4. HBASE-11869-1.0-v1.diff
          29 kB
          Shaohui Liu

        Issue Links

          Activity

            People

              liushaohui Shaohui Liu
              liushaohui Shaohui Liu
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: