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 B89A6DD3E for ; Fri, 31 Aug 2012 05:31:10 +0000 (UTC) Received: (qmail 71500 invoked by uid 500); 31 Aug 2012 05:31:10 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 71448 invoked by uid 500); 31 Aug 2012 05:31:10 -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 71060 invoked by uid 99); 31 Aug 2012 05:31:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2012 05:31:09 +0000 Date: Fri, 31 Aug 2012 16:31:09 +1100 (NCT) From: "Lars Hofhansl (JIRA)" To: issues@hbase.apache.org Message-ID: <2073787369.20863.1346391069349.JavaMail.jiratomcat@arcas> In-Reply-To: <1301884544.54300.1340669264553.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (HBASE-6268) Can't enable a table on a 0.94 cluster from a 0.92 client 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-6268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13445685#comment-13445685 ] Lars Hofhansl commented on HBASE-6268: -------------------------------------- +1 on patch. I apologize to not have caught this in 0.94.0 (HBASE-5206). > Can't enable a table on a 0.94 cluster from a 0.92 client > --------------------------------------------------------- > > Key: HBASE-6268 > URL: https://issues.apache.org/jira/browse/HBASE-6268 > Project: HBase > Issue Type: Bug > Reporter: Jean-Daniel Cryans > Fix For: 0.92.2 > > Attachments: 6268-92.txt > > > In 0.92 we know a table's enabled by doing this in HCM.isEnabledTable: > bq. return getTableState(zkw, tableName) == null; > In 0.94 we do: > bq. return getTableState(zkw, tableName) == TableState.ENABLED; > So what happens is that the the 0.92 client will hang forever since the znode contains ENABLED instead of being absent. -- 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