XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: master
    • Labels:

      Description

      HBASE-11598 introduces the "quota" table and the set_quota command.
      based on that we want to add a "quota" for the number of tables that can be created by a user or per-namespace

      e.g.

      hbase> set_quota TYPE => TABLE_NUMBER, USER => 'u1', LIMIT => 10
      Will limit the number of tables that "u1" can create to 10, if the tables created by this user are deleted the quota usage will be decremented.
      
      hbase> set_quota TYPE => TABLE_NUMBER, NAMESPACE => 'ns1', LIMIT => 20
      Will limit the number of tables that can be created in the namespace.
      
      hbase> set_quota TYPE => TABLE_NUMBER, USER => 'u1', LIMIT => NONE
      hbase> set_quota TYPE => TABLE_NUMBER, NAMESPACE => 'ns1', LIMIT => NONE
      will remove the limits
      

        Attachments

        1. HBASE-11999-v0.patch
          29 kB
          Matteo Bertozzi

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: