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

Yi Mei commented on HBASE-21820:
--------------------------------

The failed UT is not related, it failed in master branch too. Some error logs 
are as following:
{code:java}
===============================================================================
Error: test_Get_replication_sink_metrics_information(Hbase::StatusTest): 
RangeError: too big for int: 1550648440698
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/date.rb:831:in `civil'
/home/mi/hbase_new/hbase-shell/src/main/ruby/hbase/admin.rb:801:in `block in 
status'
/home/mi/hbase_new/hbase-shell/src/main/ruby/hbase/admin.rb:791:in `status'
/home/mi/hbase_new/hbase-shell/src/test/ruby/test_helper.rb:145:in 
`replication_status'
src/test/ruby/hbase/admin2_test.rb:59:in `block in 
test_Get_replication_sink_metrics_information'
56: end
57:
58: define_test 'Get replication sink metrics information' do
=> 59: output = capture_stdout { replication_status('replication', 'sink') }
60: puts "Status output:\n#{output}"
61: assert output.include? 'SINK'
62: end
/home/mi/hbase_new/hbase-shell/src/test/ruby/test_helper.rb:161:in 
`capture_stdout'
src/test/ruby/hbase/admin2_test.rb:59:in `block in 
test_Get_replication_sink_metrics_information'
===============================================================================
{code}

> Implement CLUSTER quota scope
> -----------------------------
>
>                 Key: HBASE-21820
>                 URL: https://issues.apache.org/jira/browse/HBASE-21820
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Yi Mei
>            Assignee: Yi Mei
>            Priority: Major
>         Attachments: HBASE-21820.master.001.patch
>
>
> There are two kinds of quota scope: CLUSTER and MACHINE. CLUSTER quota means 
> quota limit is shared by all machines of cluster. MACHINE quota means quota 
> limit is used by single region server.
> Currently, all set quota operations use MACHINE scope as default and CLUSTER 
> scope has not been implemented. So open this issue to implement CLUSTER quota 
> scope.
> To split cluster quota limit to machines, the basic idea is for user, 
> namespace, user over namespace and region server quota, use [ClusterLimit / 
> RSNum] as machine limit. For table and user over table quota, use 
> [ClusterLimit / TotalTableRegionNum * MachineTableRegionNum] as machine 
> limit. Suggestions are welcomed.



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

Reply via email to