Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 88805 invoked from network); 22 Dec 2009 01:18:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Dec 2009 01:18:42 -0000 Received: (qmail 80262 invoked by uid 500); 22 Dec 2009 01:18:41 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 80245 invoked by uid 500); 22 Dec 2009 01:18:41 -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 80235 invoked by uid 99); 22 Dec 2009 01:18:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Dec 2009 01:18:40 +0000 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; Tue, 22 Dec 2009 01:18:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2987F234C04C for ; Mon, 21 Dec 2009 17:18:18 -0800 (PST) Message-ID: <1943524865.1261444698168.JavaMail.jira@brutus> Date: Tue, 22 Dec 2009 01:18:18 +0000 (UTC) From: "Jean-Daniel Cryans (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-1636) disable and drop of table is flakey still In-Reply-To: <459481511.1247173094961.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793454#action_12793454 ] Jean-Daniel Cryans commented on HBASE-1636: ------------------------------------------- I'm able to manufacture duplicate assignment messages with this unit test added to TestAdmin: {code} @BeforeClass public static void setUpBeforeClass() throws Exception { TEST_UTIL.getConfiguration().setInt("hbase.regionserver.msginterval", 250); TEST_UTIL.getConfiguration().setInt("hbase.client.pause", 250); TEST_UTIL.startMiniCluster(3); } ... @Test public void testHundredsOfTable() throws IOException{ final int times = 125; HColumnDescriptor fam1 = new HColumnDescriptor("fam1"); fam1.setCompressionType(Compression.Algorithm.GZ); HColumnDescriptor fam2 = new HColumnDescriptor("fam2"); fam2.setCompressionType(Compression.Algorithm.GZ); HColumnDescriptor fam3 = new HColumnDescriptor("fam3"); fam3.setCompressionType(Compression.Algorithm.GZ); for(int i = 0; i < times; i++) { HTableDescriptor htd = new HTableDescriptor("table"+i); htd.addFamily(fam1); htd.addFamily(fam2); htd.addFamily(fam3); this.admin.createTable(htd); } for(int i = 0; i < times; i++) { this.admin.disableTable("table"+i); this.admin.deleteTable("table"+i); } for(int i = 0; i < times; i++) { HTableDescriptor htd = new HTableDescriptor("table"+i); htd.addFamily(fam1); htd.addFamily(fam2); htd.addFamily(fam3); this.admin.createTable(htd); } } {code} It often fails on disabling. > disable and drop of table is flakey still > ----------------------------------------- > > Key: HBASE-1636 > URL: https://issues.apache.org/jira/browse/HBASE-1636 > Project: Hadoop HBase > Issue Type: Bug > Reporter: stack > Fix For: 0.21.0 > > Attachments: hbase-hbase-master-ip-10-212-65-235.log, hbase-hbase-regionserver-ip-10-212-66-112.log > > > Just now, cheddar up on IRC had table of 2k regions. A disable and drop gave him 2k rows in meta of historian info. He couldn't progress. Had to make below script for him: > {code} > meta = HTable.new(".META.") > historian = "historian:" > scanner = meta.getScanner([historian].to_java(java.lang.String)) > while (result = scanner.next()) > meta.deleteAll(result.getRow()) > end > exit 0 > {code} > This flakey disable/enable/drop is frustrating users. Need to fix. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.