Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@locus.apache.org Received: (qmail 83741 invoked from network); 25 Aug 2008 18:46:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Aug 2008 18:46:05 -0000 Received: (qmail 3555 invoked by uid 500); 25 Aug 2008 18:46:03 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 3537 invoked by uid 500); 25 Aug 2008 18:46:03 -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 3526 invoked by uid 99); 25 Aug 2008 18:46:03 -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:46:03 -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:45:14 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5560C234C1B8 for ; Mon, 25 Aug 2008 11:45:44 -0700 (PDT) Message-ID: <1469072943.1219689944348.JavaMail.jira@brutus> Date: Mon, 25 Aug 2008 11:45:44 -0700 (PDT) From: "Jonathan Gray (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Created: (HBASE-843) Deleting and recreating a table in a single process does not work MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 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.