Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@locus.apache.org Received: (qmail 89099 invoked from network); 25 Aug 2008 18:52:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Aug 2008 18:52:35 -0000 Received: (qmail 9325 invoked by uid 500); 25 Aug 2008 18:52:33 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 9313 invoked by uid 500); 25 Aug 2008 18:52:33 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 9302 invoked by uid 99); 25 Aug 2008 18:52:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 11:52:33 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 18:51:44 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4F297234C1B5 for ; Mon, 25 Aug 2008 11:51:44 -0700 (PDT) Message-ID: <1834026639.1219690304323.JavaMail.jira@brutus> Date: Mon, 25 Aug 2008 11:51:44 -0700 (PDT) From: "Jonathan Gray (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Updated: (HBASE-843) Deleting and recreating a table in a single process does not work In-Reply-To: <1469072943.1219689944348.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Gray updated HBASE-843: -------------------------------- Fix Version/s: 0.18.0 Status: Patch Available (was: Open) Patch tested, applies to trunk > Deleting and recreating a table in a single process does not work > ----------------------------------------------------------------- > > Key: HBASE-843 > URL: https://issues.apache.org/jira/browse/HBASE-843 > Project: Hadoop HBase > Issue Type: Bug > Affects Versions: 0.2.1, 0.18.0 > Reporter: Jonathan Gray > Assignee: Jonathan Gray > Fix For: 0.18.0 > > Attachments: hbase-843-v1.patch > > > When you delete and then recreate/enable the same table in the same process, when you get the HTable reference to the new table you are actually given the old table. > The connection information is never deleted/invalidated. > To fix, we add a call to HConnectionManager.deleteConnectionInfo(conf) at the end of HBaseAdmin.deleteTable(). This information will then be re-loaded with the latest table references once the client asks for it. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.