Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4925A10F15 for ; Thu, 15 Aug 2013 21:24:37 +0000 (UTC) Received: (qmail 74276 invoked by uid 500); 15 Aug 2013 21:24:23 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 74216 invoked by uid 500); 15 Aug 2013 21:24:23 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 74142 invoked by uid 99); 15 Aug 2013 21:24:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Aug 2013 21:24:16 +0000 Date: Thu, 15 Aug 2013 21:24:16 +0000 (UTC) From: "Jimmy Xiang (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-9233) isTableAvailable() may be stuck if an offline parent was never assigned MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-9233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13741496#comment-13741496 ] Jimmy Xiang commented on HBASE-9233: ------------------------------------ I think it is meant to check if all the regions containing those splitKeys are available. If any one is not, the call return false. The +1 is for the first region which is always counted. So we do need some fix to exclude split parents since they could be offline so the call return false? > isTableAvailable() may be stuck if an offline parent was never assigned > ----------------------------------------------------------------------- > > Key: HBASE-9233 > URL: https://issues.apache.org/jira/browse/HBASE-9233 > Project: HBase > Issue Type: Bug > Components: Client, Region Assignment > Affects Versions: 0.98.0, 0.95.1, 0.94.10 > Reporter: Matteo Bertozzi > Assignee: Matteo Bertozzi > Priority: Critical > Fix For: 0.98.0, 0.94.12, 0.96.0 > > Attachments: HBASE-9233-0.94-v0.patch, HBASE-9233-trunk-v0.patch > > > HConnectionManager.isTableAvailable() the SERVER_QUALIFIER for each region, including the offline split parent. > In case of hbck META recovery or snapshots clone/restore an offline parent will never be assigned (since should stay offline). In this case HBaseAdmin.waitUntilTableIsEnabled() used by enable() and cloneSnapshot() will wait until the timeout is expired. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira