Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-10026

HBaseAdmin#createTable could fail if region splits too fast

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.98.0, 0.96.1, 0.94.15
    • Component/s: Client
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

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

      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)
      

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

        Attachments

        1. 0.94-10026.patch
          0.8 kB
          Jimmy Xiang
        2. trunk-10026.patch
          0.8 kB
          Jimmy Xiang

          Activity

            People

            • Assignee:
              jxiang Jimmy Xiang
              Reporter:
              jxiang Jimmy Xiang
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: