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

chunhui shen commented on HBASE-8131:
-------------------------------------

{code}
+    for (int i = 0; i < 100; i++) {
+      if (!TEST_UTIL.getHBaseAdmin().isTableAvailable(TABLENAME)) {
+        Thread.sleep(200);
+      }
+    }
{code}
Make a assert that table is available ?
                
> Create table handler needs to handle failure cases.
> ---------------------------------------------------
>
>                 Key: HBASE-8131
>                 URL: https://issues.apache.org/jira/browse/HBASE-8131
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 0.98.0
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>         Attachments: HBASE-8131_trunk_1.patch, HBASE-8131_trunk_2.patch, 
> HBASE-8131_trunk.patch
>
>
> In CreateTable Handler there are number of failure cases.  
> IOExceptions are common while creation of regioninfos, htableDescriptors etc.
> After this exception if i try to recreate the table using admin, we need to 
> remove the acquired table lock and also clear the ZKTable in memory cache so 
> that the operation can be retried.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to