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

Andrew Purtell commented on HBASE-20925:
----------------------------------------

Is this still needed?

What is the utility for the rate computation? Would it better to print a line 
for every successful or failed probe and let the tool post-processing the 
output make this computation if it is needed? Raw output would be more useful 
and flexible than this cooked metric?

> Canary test to expose table availability rate 
> ----------------------------------------------
>
>                 Key: HBASE-20925
>                 URL: https://issues.apache.org/jira/browse/HBASE-20925
>             Project: HBase
>          Issue Type: Improvement
>          Components: canary
>    Affects Versions: 3.0.0, 2.0.0, 1.4.6
>            Reporter: Xu Cang
>            Assignee: Xu Cang
>            Priority: Major
>              Labels: Canary
>         Attachments: HBASE-20925.master.001.patch, 
> HBASE-20925.master.002.patch, HBASE-20925.master.003.patch, 
> HBASE-20925.master.004.patch, HBASE-20925.master.005.patch
>
>
> Canary test to expose table availability rate.
>  
> It will print table availability rate such as below. 
>  
>  
> *2018-07-27 17:11:06,823 INFO [CanaryMonitor-1532736665083] tool.Canary: 
> ========================================*
> *2018-07-27 17:11:06,824 INFO [CanaryMonitor-1532736665083] tool.Canary: 
> =============== Summary: ===============*
> *2018-07-27 17:11:06,824 INFO [CanaryMonitor-1532736665083] tool.Canary: Read 
> success rate for table : MyTable is: 1.0 .*   
> *2018-07-27 17:11:06,824 INFO [CanaryMonitor-1532736665083] tool.Canary: Read 
> success rate for table : mytable3 is: 0.9*
> *2018-07-27 17:11:06,824 INFO [CanaryMonitor-1532736665083] tool.Canary: Read 
> success rate for table : mytable2 is: 0.8*
> *2018-07-27 17:11:06,824 INFO [CanaryMonitor-1532736665083] tool.Canary: Read 
> success rate for table : mytable4 is: 1.0*
> *2018-07-27 17:11:06,824 INFO [CanaryMonitor-1532736665083] tool.Canary: 
> ===============END======================*



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

Reply via email to