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

[Shell] Recreate table grants after truncate

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: 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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: