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

[Shell] Recreate table grants after truncate

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • None

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            apurtell Andrew Kyle Purtell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: