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 32FC711A85 for ; Mon, 13 May 2013 19:43:16 +0000 (UTC) Received: (qmail 89100 invoked by uid 500); 13 May 2013 18:43:16 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 89072 invoked by uid 500); 13 May 2013 18:43:16 -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 89061 invoked by uid 99); 13 May 2013 18:43:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 May 2013 18:43:15 +0000 Date: Mon, 13 May 2013 18:43:15 +0000 (UTC) From: "rajeshbabu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-8538) HBaseAdmin#isTableEnabled() should check table existence before checking zk state. 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-8538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] rajeshbabu updated HBASE-8538: ------------------------------ Attachment: HBASE-8538_94.patch Patch for 94. > HBaseAdmin#isTableEnabled() should check table existence before checking zk state. > ---------------------------------------------------------------------------------- > > Key: HBASE-8538 > URL: https://issues.apache.org/jira/browse/HBASE-8538 > Project: HBase > Issue Type: Bug > Components: Admin > Reporter: rajeshbabu > Assignee: rajeshbabu > Fix For: 0.94.8 > > Attachments: HBASE-8538_94.patch > > > To avoid compatibility issues with older versions HBaseAdmin#isTableEnabled returning true even if the table state is null. Its also returning true even a table is not present. We should confirm table existence from .META. before checking in zk. If table not present or deleted, then It will throw TableNotFoundException. -- 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