Dima Spivak created HBASE-12181:
-----------------------------------

             Summary: Some tests create a table and try to use it before 
regions get assigned
                 Key: HBASE-12181
                 URL: https://issues.apache.org/jira/browse/HBASE-12181
             Project: HBase
          Issue Type: Bug
    Affects Versions: 0.98.6.1, 1.0.0, 2.0.0
            Reporter: Dima Spivak
            Assignee: Dima Spivak


I inadvertently did some unit test stress testing this weekend by running {{mvn 
test -P runAllTests}} on a machine that also had other processes going on. The 
overall sluggishness led to a number of failed tests that were caused by a 
table being created using HBaseAdmin#createTable, which only blocks for meta to 
get updated and not for the region to actually get assigned a RegionServer. 
Quick fix is to use HBaseTestingUtility#createTable whenever possible.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to