hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-4751) Make TestAdmin#testEnableTableRoundRobinAssignment friendly to concurrent tests
Date Fri, 04 Nov 2011 23:17:52 GMT
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


>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.<init>(HTable.java:202)
	at org.apache.hadoop.hbase.client.HTable.<init>(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

        

Mime
View raw message