You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Vandana Ayyalasomayajula (JIRA)" <ji...@apache.org> on 2014/12/03 00:25:13 UTC

[jira] [Commented] (HBASE-11999) table creations quota

    [ https://issues.apache.org/jira/browse/HBASE-11999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14232294#comment-14232294 ] 

Vandana Ayyalasomayajula commented on HBASE-11999:
--------------------------------------------------

This is similar to https://issues.apache.org/jira/browse/HBASE-8410. In my opinion, if we enforce table/region quotas at namespace level, it should solve the purpose. Do we really need table/region quota at user level ?

> table creations quota
> ---------------------
>
>                 Key: HBASE-11999
>                 URL: https://issues.apache.org/jira/browse/HBASE-11999
>             Project: HBase
>          Issue Type: Sub-task
>          Components: master
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Trivial
>             Fix For: 2.0.0
>
>         Attachments: HBASE-11999-v0.patch
>
>
> 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.
> {noformat}
> 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
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)