Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 12944 invoked from network); 12 Jul 2007 02:51:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jul 2007 02:51:30 -0000 Received: (qmail 35367 invoked by uid 500); 12 Jul 2007 02:51:31 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 35336 invoked by uid 500); 12 Jul 2007 02:51:31 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 35327 invoked by uid 99); 12 Jul 2007 02:51:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jul 2007 19:51:31 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jul 2007 19:51:28 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E63AA714208 for ; Wed, 11 Jul 2007 19:51:07 -0700 (PDT) Message-ID: <12369651.1184208667938.JavaMail.jira@brutus> Date: Wed, 11 Jul 2007 19:51:07 -0700 (PDT) From: "stack (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-1574) [hbase] Concurrent creates of a table named 'X' all succeed In-Reply-To: <11515177.1183771384494.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/HADOOP-1574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511948 ] stack commented on HADOOP-1574: ------------------------------- No. This test was catching RemoteException and undoing it to pull out TableExistsException. The new patch changes the test to instead catch TableExistsException, which should still hold after you do your new commit (Thanks for asking) > [hbase] Concurrent creates of a table named 'X' all succeed > ----------------------------------------------------------- > > Key: HADOOP-1574 > URL: https://issues.apache.org/jira/browse/HADOOP-1574 > Project: Hadoop > Issue Type: Bug > Components: contrib/hbase > Reporter: stack > Assignee: stack > Priority: Minor > Attachments: duptable-v2.patch, duptable-v3.patch, duptable.patch, hadoop-1574-v4.patch, hadoop-1574-v5.patch > > > If multiple threads all try to create a table of a particular, all succeed. It makes for a mess. > Create table needs to be synchronized so only one thread creates a table and subsequent threads fail with 'table already exits'. The test for pre-existence also needs fixing. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.