You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2013/03/17 18:19:14 UTC

[jira] [Commented] (HBASE-8131) Create table handler needs to handle failure cases.

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

Ted Yu commented on HBASE-8131:
-------------------------------

I guess you were suggesting that the scope of the try block starting at line 220 be extended to cover the body of handleCreateTable() so that releaseTableLock() is always called.
                
> 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
>
> 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