Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CD41272DA for ; Sat, 5 Nov 2011 04:55:13 +0000 (UTC) Received: (qmail 34346 invoked by uid 500); 5 Nov 2011 04:55:13 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 34283 invoked by uid 500); 5 Nov 2011 04:55:13 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 34275 invoked by uid 99); 5 Nov 2011 04:55:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Nov 2011 04:55:12 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Nov 2011 04:55:11 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 70238333D08 for ; Sat, 5 Nov 2011 04:54:51 +0000 (UTC) Date: Sat, 5 Nov 2011 04:54:51 +0000 (UTC) From: "Ted Yu (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <1236045265.2423.1320468891460.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1606845689.1676.1320448672695.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-4751) Make TestAdmin#testEnableTableRoundRobinAssignment friendly to concurrent tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-4751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144581#comment-13144581 ] Ted Yu commented on HBASE-4751: ------------------------------- HadoopQa tried to apply the results as a patch. Please re-attach the patch and submit. > Make TestAdmin#testEnableTableRoundRobinAssignment friendly to concurrent tests > ------------------------------------------------------------------------------- > > Key: HBASE-4751 > URL: https://issues.apache.org/jira/browse/HBASE-4751 > Project: HBase > Issue Type: Task > Reporter: Ted Yu > Assignee: Jieshan Bean > Attachments: HBASE-4751-trunk.patch, TestResults.txt > > > From https://builds.apache.org/view/G-L/view/HBase/job/HBase-TRUNK/2410/artifact/trunk/target/surefire-reports/org.apache.hadoop.hbase.client.TestAdmin.txt : > {code} > testEnableTableRoundRobinAssignment(org.apache.hadoop.hbase.client.TestAdmin) Time elapsed: 4.345 sec <<< ERROR! > java.lang.IllegalArgumentException: Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master. > at org.apache.hadoop.hbase.zookeeper.RootRegionTracker.waitRootRegionLocation(RootRegionTracker.java:81) > at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:753) > at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:733) > at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:866) > at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:765) > at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:733) > at org.apache.hadoop.hbase.client.HTable.(HTable.java:202) > at org.apache.hadoop.hbase.client.HTable.(HTable.java:157) > at org.apache.hadoop.hbase.client.TestAdmin.testEnableTableRoundRobinAssignment(TestAdmin.java:604) > {code} > This was due to: > {code} > HTable metaTable = new HTable(HConstants.META_TABLE_NAME); > {code} > A few lines above, we have the correct usage: > {code} > HTable ht = new HTable(TEST_UTIL.getConfiguration(), tableName); > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira