You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Matteo Bertozzi (JIRA)" <ji...@apache.org> on 2013/11/25 23:22:35 UTC

[jira] [Commented] (HBASE-10026) HBaseAdmin#createTable could fail if region splits too fast

    [ https://issues.apache.org/jira/browse/HBASE-10026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13831982#comment-13831982 ] 

Matteo Bertozzi commented on HBASE-10026:
-----------------------------------------

looks good to me, since at the moment there is no automatic region remove/merge.
(thinking at the snapshot case where your create table has already some data in it)

> 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
>             Fix For: 0.98.0, 0.96.1, 0.94.15
>
>         Attachments: 0.94-10026.patch, trunk-10026.patch
>
>
> 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)