HBase
  1. HBase
  2. HBASE-11596

[Shell] Recreate table grants after truncate

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      The shell's truncate command disables, drops, and creates a replacement table. When the AccessController is active it observes the drop and cleans up any grants made on the table. The shell does not take any action to preserve the grants but could. Would make a nice improvement. If security is active and running with administrative privilege, the shell could retrieve the table- and CF-level grants before dropping the table and replay them on the new table after creating it.

        Activity

        Hide
        Andrew Purtell added a comment -

        Marking as 'noob'

        Show
        Andrew Purtell added a comment - Marking as 'noob'
        Hide
        Andrew Purtell added a comment -

        I'm going to resolve this as a dup of HBASE-8332 and HBASE-11769

        Show
        Andrew Purtell added a comment - I'm going to resolve this as a dup of HBASE-8332 and HBASE-11769

          People

          • Assignee:
            Unassigned
            Reporter:
            Andrew Purtell
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development