[
https://issues.apache.org/jira/browse/HBASE-20925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xu Cang updated HBASE-20925:
----------------------------
Attachment: HBASE-20925.master.003.patch
> 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
>
>
> 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)