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

Hudson commented on HBASE-23967:
--------------------------------

Results for branch branch-2
        [build #2551 on 
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/2551/]: 
(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/2551//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/2551//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/2551//JDK8_Nightly_Build_Report_(Hadoop3)/]


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


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


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


> Improve the accuracy of the method sizeToString
> -----------------------------------------------
>
>                 Key: HBASE-23967
>                 URL: https://issues.apache.org/jira/browse/HBASE-23967
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: master
>            Reporter: xuqinya
>            Assignee: xuqinya
>            Priority: Minor
>             Fix For: 3.0.0, 2.3.0, 1.7.0, 2.1.10, 2.2.5
>
>
> In QuotaSettings,the method of sizeToString reserved integer. But, this is 
> not very accurate. 
> {code:java}
> hbase(main):001:0> set_quota TYPE => SPACE, TABLE => 't1', LIMIT => '2000G', 
> POLICY => NO_INSERTS
> hbase(main):002:0> list_quotas
> OWNER                                    QUOTAS                               
>                                                                               
>  
>  TABLE => t1                             TYPE => SPACE, TABLE => t1, LIMIT => 
> 1T, VIOLATION_POLICY => NO_INSERTS                                            
>  
> 1 row(s) in 0.0340 seconds
> {code}
> after patch:
> {code:java}
> hbase(main):001:0> set_quota TYPE => SPACE, TABLE => 't1', LIMIT => '2000G', 
> POLICY => NO_INSERTS
> hbase(main):002:0> list_quotas
> OWNER                                    QUOTAS                               
>                                                                               
>  
> TABLE => t1                             TYPE => SPACE, TABLE => t1, LIMIT => 
> 1.95T, VIOLATION_POLICY => NO_INSERTS                                       
> 1 row(s) in 0.0230 seconds
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to