[
https://issues.apache.org/jira/browse/HBASE-15617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15285716#comment-15285716
]
Andrew Purtell commented on HBASE-15617:
----------------------------------------
Looks all good. Committing today. I'll port it back to all active branches.
> Canary in regionserver mode might not enumerate all regionservers
> -----------------------------------------------------------------
>
> Key: HBASE-15617
> URL: https://issues.apache.org/jira/browse/HBASE-15617
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Andrew Purtell
> Assignee: Sanjeev Lakshmanan
> Priority: Minor
> Labels: beginner
> Attachments: HBASE-15617-v1.patch, HBASE-15617.patch
>
>
> When running in regionserver mode the Canary is expected to probe for service
> health one time per regionserver during a probe interval.
> Each time the canary chore fires, we create a RegionServerMonitor, which uses
> filterRegionServerByName (via getAllRegionServerByName) to enumerate over all
> table descriptors, find the locations for each table, then assemble the list
> of regionservers to probe from this result. The list may not contain all live
> regionservers, if there is a regionserver up but for some reason not serving
> any regions. To ensure we have the complete list of live regionservers I
> think it would be better to use Admin#getClusterStatus and enumerate the live
> server list returned in the result.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)