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

Hudson commented on HBASE-21634:
--------------------------------

Results for branch branch-2
        [build #1611 on 
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/1611/]: 
(x) *{color:red}-1 overall{color}*
----
details (if available):

(/) {color:green}+1 general checks{color}
-- For more information [see general 
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/1611//General_Nightly_Build_Report/]




(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) 
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/1611//JDK8_Nightly_Build_Report_(Hadoop2)/]


(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/1611//JDK8_Nightly_Build_Report_(Hadoop3)/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


(/) {color:green}+1 client integration test{color}


> Print error message when user uses unacceptable values for LIMIT while 
> setting quotas.
> --------------------------------------------------------------------------------------
>
>                 Key: HBASE-21634
>                 URL: https://issues.apache.org/jira/browse/HBASE-21634
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Sakthi
>            Assignee: Sakthi
>            Priority: Minor
>             Fix For: 3.0.0, 2.2.0
>
>         Attachments: hbase-21634.master.001.patch, 
> hbase-21634.master.002.patch, hbase-21634.master.003.patch, 
> hbase-21634.master.004.patch
>
>
> When unacceptable value(like 2.3G or 70H) to LIMITĀ areĀ passed while setting 
> quotas, we currently do not print any error message (informing the user about 
> the erroneous input). Like below:
> {noformat}
> hbase(main):002:0> set_quota TYPE => SPACE, TABLE => 't2', LIMIT => '2.3G', 
> POLICY => NO_WRITES
> Took 0.0792 seconds
> hbase(main):003:0> list_quotas
> OWNER                                                        QUOTAS
>  TABLE => t2                                                 TYPE => SPACE, 
> TABLE => t2, LIMIT => 2B, VIOLATION_POLICY => NO_WRITES
> 1 row(s)
> Took 0.0512 seconds
> hbase(main):006:0> set_quota TYPE => SPACE, TABLE => 't2', LIMIT => '70H', 
> POLICY => NO_WRITES
> Took 0.0088 seconds
> hbase(main):007:0> list_quotas
> OWNER                                                        QUOTAS
>  TABLE => t2                                                 TYPE => SPACE, 
> TABLE => t2, LIMIT => 70B, VIOLATION_POLICY => NO_WRITES
> 1 row(s)
> Took 0.0448 seconds
> {noformat}



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

Reply via email to