hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guanghao Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-13987) Modify the result of shell cmd list_quotas when not enable quota
Date Mon, 29 Jun 2015 13:04:05 GMT

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

Guanghao Zhang updated HBASE-13987:
-----------------------------------
    Environment:     (was: When not enable quota, use shell cmd list_quotas will get result
as belows:

hbase(main):008:0> list_quotas
OWNER                                                QUOTAS                              
                                                                                         
                         

ERROR: Unknown table hbase:quota!

It is confuse if user doesn't know quotas are stored in hbase:quota. I add check isQuotaEnabled
before scan the table hbase:quota. So it will return result  "ERROR: quota support disabled",
which is same with set_quota.)

> Modify the result of shell cmd list_quotas when not enable quota
> ----------------------------------------------------------------
>
>                 Key: HBASE-13987
>                 URL: https://issues.apache.org/jira/browse/HBASE-13987
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Guanghao Zhang
>            Assignee: Guanghao Zhang
>            Priority: Minor
>         Attachments: HBASE-13987.patch
>
>
> When not enable quota, use shell cmd list_quotas will get result as belows:
> hbase(main):008:0> list_quotas
> OWNER                                                QUOTAS                         
                                                                                         
                              
> ERROR: Unknown table hbase:quota!
> It is confuse if user doesn't know quotas are stored in hbase:quota. I add check isQuotaEnabled
before scan the table hbase:quota. So it will return result  "ERROR: quota support disabled",
which is same with set_quota.



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

Mime
View raw message