[
https://issues.apache.org/jira/browse/HBASE-20925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16581652#comment-16581652
]
Xu Cang commented on HBASE-20925:
---------------------------------
Addressed [~ckulkarni]'s comment.
Now the summary looks like this:
2018-08-15 14:43:24,445 INFO [CanaryMonitor-1534369399255] tool.Canary:
========================================
2018-08-15 14:43:24,445 INFO [CanaryMonitor-1534369399255] tool.Canary:
=============== Summary: ===============
2018-08-15 14:43:24,445 INFO [CanaryMonitor-1534369399255] tool.Canary: Read
success rate for table : MyTable is: 1.0 success count: 1 failure count: 0
2018-08-15 14:43:24,446 INFO [CanaryMonitor-1534369399255] tool.Canary: Read
success rate for table : mytable3 is: 1.0 success count: 1 failure count: 0
2018-08-15 14:43:24,446 INFO [CanaryMonitor-1534369399255] tool.Canary: Read
success rate for table : mytable2 is: 1.0 success count: 1 failure count: 0
2018-08-15 14:43:24,446 INFO [CanaryMonitor-1534369399255] tool.Canary: Read
success rate for table : mytable4 is: 1.0 success count: 2 failure count: 0
2018-08-15 14:43:24,446 INFO [CanaryMonitor-1534369399255] tool.Canary:
===============END======================
> 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
>
>
> 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)