[ 
https://issues.apache.org/jira/browse/HBASE-8410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vandana Ayyalasomayajula updated HBASE-8410:
--------------------------------------------
    Release Note: 
Namespace auditor provides basic quota support for namespaces in terms of 
number of tables and number of regions. In order to use namespace quotas, quota 
support must be enabled by setting
"hbase.quota.enabled" property to true in hbase-site.xml file.

The users can add quota information to namespace, while creating new namespaces 
or by altering existing ones. 

Examples:
1. namespace_create 'ns1', {'hbase.namespace.quota.maxregions'=>'10'}
2. namespace_create 'ns2', 
{'hbase.namespace.quota.maxtables'=>'2','hbase.namespace.quota.maxregion'=>'5'}
3. alter_namespace 'ns3', {METHOD => 'set', 
'hbase.namespace.quota.maxtables'=>'5','hbase.namespace.quota.maxregion'=>'25'}

The quotas can be modified/added to namespace at any point of time.

> Basic quota support for namespaces
> ----------------------------------
>
>                 Key: HBASE-8410
>                 URL: https://issues.apache.org/jira/browse/HBASE-8410
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Francis Liu
>            Assignee: Vandana Ayyalasomayajula
>             Fix For: 2.0.0
>
>         Attachments: 8410-master.9.patch, HBASE-8410-master.1.patch, 
> HBASE-8410-master.4.patch, HBASE-8410-master.5.patch, 
> HBASE-8410-master.6.patch, HBASE-8410-master.7.patch, 
> HBASE-8410-master.9.patch, HBASE-8410-master.patch, HBASE-8410.docx, 
> HBASE-8410_trunk_14.patch
>
>
> This task involves creating an observer which provides basic quota support to 
> namespaces in terms of (1) number of tables and (2) number of regions. The 
> quota support can be enabled by setting:
> <property>
>     <name>hbase.coprocessor.region.classes</name>
>     <value>org.apache.hadoop.hbase.namespace.NamespaceController</value>
> </property>
> <property>
>     <name>hbase.coprocessor.master.classes</name>
>     <value>org.apache.hadoop.hbase.namespace.NamespaceController</value>
> </property>
> in the hbase-site.xml.
> To add quotas to namespace, while creating namespace properties need to be 
> added.
> Examples:
> 1. namespace_create 'ns1', {'hbase.namespace.quota.maxregion'=>'10'}
> 2. 1. namespace_create 'ns2', {'hbase.namespace.quota.maxtables'=>'2'}, 
> {'hbase.namespace.quota.maxregion'=>'5'}
> The quotas can be modified/added to namespace at any point of time. 



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

Reply via email to