You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "yaojingyi (JIRA)" <ji...@apache.org> on 2019/02/27 11:39:00 UTC

[jira] [Updated] (HBASE-21964) unset Quota by Throttle Type

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

yaojingyi updated HBASE-21964:
------------------------------
    Attachment: HBASE-21964.branch-1.4.001.patch

> unset Quota by Throttle Type
> ----------------------------
>
>                 Key: HBASE-21964
>                 URL: https://issues.apache.org/jira/browse/HBASE-21964
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 1.4.8
>            Reporter: yaojingyi
>            Assignee: yaojingyi
>            Priority: Major
>         Attachments: HBASE-21964.branch-1.4.001.patch, unthrottleByType.patch
>
>
>  
> {code:java}
> //first set_quota to  USER=> 'u1'
> set_quota TYPE => THROTTLE, USER => 'u1', THROTTLE_TYPE => WRITE, LIMIT => '1000req/sec'
> //then 
> hbase(main):004:0> set_quota TYPE => THROTTLE, THROTTLE_TYPE => WRITE, USER => 'u1', LIMIT => NONE
> ERROR: Unexpected arguments: {"THROTTLE_TYPE"=>"WRITE"}
> // or try "THROTTLE_TYPE"=>"WRITE_NUMBER"
> hbase(main):012:0* set_quota TYPE => THROTTLE, THROTTLE_TYPE => WRITE_NUMBER, USER => 'u1', LIMIT => NONE
> NameError: uninitialized constant WRITE_NUMBER
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)