hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15617) Canary in regionserver mode might not enumerate all regionservers
Date Thu, 19 May 2016 06:06:12 GMT

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

Hudson commented on HBASE-15617:

SUCCESS: Integrated in HBase-1.4 #162 (See [https://builds.apache.org/job/HBase-1.4/162/])
HBASE-15617 Canary in regionserver mode might not enumerate all (apurtell: rev 5eed14272b0845d75240ad530a7e697d82cc80e6)
* hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
* hbase-server/src/test/java/org/apache/hadoop/hbase/tool/TestCanaryTool.java

> 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
>             Fix For: 2.0.0, 1.3.0, 1.2.2, 0.98.20
>         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

View raw message