Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DAF7610E65 for ; Tue, 3 Sep 2013 20:05:55 +0000 (UTC) Received: (qmail 87277 invoked by uid 500); 3 Sep 2013 20:05:55 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 86980 invoked by uid 500); 3 Sep 2013 20:05:54 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 86935 invoked by uid 99); 3 Sep 2013 20:05:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 20:05:52 +0000 Date: Tue, 3 Sep 2013 20:05:52 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-8410) Basic quota support for namespaces MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-8410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13757002#comment-13757002 ] Ted Yu commented on HBASE-8410: ------------------------------- If you compare https://builds.apache.org/job/PreCommit-HBASE-Build/7009//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html#Warnings_MALICIOUS_CODE with https://builds.apache.org/job/PreCommit-HBASE-Build/7008//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html#Warnings_MALICIOUS_CODE , you can easily see which two new warnings were introduced. > 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 > Attachments: HBASE_8410_1_trunk.patch, HBASE_8410.patch, HBASE-8410_trunk_2.patch, HBASE-8410_trunk_3.patch, HBASE-8410_trunk_4.patch, HBASE-8410_trunk_4.patch, HBASE-8410_trunk_5.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: > > hbase.coprocessor.region.classes > org.apache.hadoop.hbase.namespace.NamespaceController > > > hbase.coprocessor.master.classes > org.apache.hadoop.hbase.namespace.NamespaceController > > 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 is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira