Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A4C4119F85 for ; Fri, 8 Apr 2016 16:56:26 +0000 (UTC) Received: (qmail 1776 invoked by uid 500); 8 Apr 2016 16:56:25 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 1624 invoked by uid 500); 8 Apr 2016 16:56:25 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 1514 invoked by uid 99); 8 Apr 2016 16:56:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Apr 2016 16:56:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 846722C1F61 for ; Fri, 8 Apr 2016 16:56:25 +0000 (UTC) Date: Fri, 8 Apr 2016 16:56:25 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-15617) Canary in regionserver mode might not enumerate all regionservers MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Andrew Purtell created HBASE-15617: -------------------------------------- Summary: 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 Reporter: Andrew Purtell Priority: Minor 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)