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

Add truncate as HMaster method

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.99.0
    • master
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: