Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.99.0
    • Component/s: master
    • Labels:
      None

      Description

      Currently truncate and truncate_preserve are only shell functions, and implemented as deleteTable() + createTable().

      Using ACLs the user running truncate, must have rights to create a table and only "global granted" users can create tables.

      Add truncate() and truncatePreserve() to HBaseAdmin/HMaster with its own ACL check.

      https://reviews.apache.org/r/15835/

        Attachments

        1. HBASE-8332.draft.patch
          39 kB
          Matteo Bertozzi
        2. HBASE-8332-v0.patch
          265 kB
          Matteo Bertozzi
        3. HBASE-8332-v2.patch
          330 kB
          Matteo Bertozzi
        4. HBASE-8332-v3.patch
          323 kB
          Matteo Bertozzi
        5. HBASE-8332-v4.patch
          326 kB
          Matteo Bertozzi

          Issue Links

            Activity

              People

              • Assignee:
                mbertozzi Matteo Bertozzi
                Reporter:
                mbertozzi Matteo Bertozzi
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: