Jimmy Xiang created HBASE-10026:
-----------------------------------

             Summary: HBaseAdmin#createTable could fail if region splits too 
fast
                 Key: HBASE-10026
                 URL: https://issues.apache.org/jira/browse/HBASE-10026
             Project: HBase
          Issue Type: Bug
          Components: Client
            Reporter: Jimmy Xiang
            Assignee: Jimmy Xiang
            Priority: Minor


TestAdmin.testCreateBadTables failed on me once with the following exception:

{noformat}
2013-11-25 13:37:27,832 ERROR [0] server.NIOServerCnxnFactory$1(44): Thread 
Thread[0,5,main] died
java.lang.RuntimeException: Failed threaded create0
        at org.apache.hadoop.hbase.client.TestAdmin$3.run(TestAdmin.java:1070)
Caused by: org.apache.hadoop.hbase.client.RegionOfflineException: Only 2 of 1 
regions are online; retries exhausted.
        at 
org.apache.hadoop.hbase.client.HBaseAdmin.createTable(HBaseAdmin.java:455)
        at 
org.apache.hadoop.hbase.client.HBaseAdmin.createTable(HBaseAdmin.java:348)
        at org.apache.hadoop.hbase.client.TestAdmin$3.run(TestAdmin.java:1065)
{noformat}

It seems one region is split while we are still expect the region count to be 1.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to