Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@locus.apache.org Received: (qmail 24481 invoked from network); 18 Aug 2008 23:20:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Aug 2008 23:20:05 -0000 Received: (qmail 5593 invoked by uid 500); 18 Aug 2008 23:20:03 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 5572 invoked by uid 500); 18 Aug 2008 23:20: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 5561 invoked by uid 99); 18 Aug 2008 23:20:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 16:20: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, 18 Aug 2008 23:19:15 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 50840234C1AA for ; Mon, 18 Aug 2008 16:19:44 -0700 (PDT) Message-ID: <814819919.1219101584328.JavaMail.jira@brutus> Date: Mon, 18 Aug 2008 16:19:44 -0700 (PDT) From: "Izaak Rubin (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-828) HBaseAdmin.tableExists(new Text("TestTable5")) returns false when table actually exists. In-Reply-To: <1656784798.1218648164841.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-828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623487#action_12623487 ] Izaak Rubin commented on HBASE-828: ----------------------------------- I'll try to do that, maybe I'll experiment with flushing the data to disk between calls to tableExists(). Another thing I realized is that I'd been doing my tests for this on trunk, but I then downloaded and tested on branch 0.2 and it still worked. > HBaseAdmin.tableExists(new Text("TestTable5")) returns false when table actually exists. > ---------------------------------------------------------------------------------------- > > Key: HBASE-828 > URL: https://issues.apache.org/jira/browse/HBASE-828 > Project: Hadoop HBase > Issue Type: Bug > Components: util > Affects Versions: 0.2.0 > Reporter: Ryan Smith > Priority: Minor > Fix For: 0.3.0 > > > Process: > One the 1st MR job, i use tableExists( new Text("TestTable5")) & tableCreate to create the table. > On the 2nd MR job, I call tableExists(new Text("TestTable5")), which returns false, then i call disableTable, deleteTable, and finally createTable. > Workaround for now is to avoid using Text. tableExists(byte[]) works when i tested it. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.