[
https://issues.apache.org/jira/browse/HBASE-8131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13604831#comment-13604831
]
chunhui shen commented on HBASE-8131:
-------------------------------------
I think placing CreateTableHandler#releaseTableLock() in
CreateTableHandler#completed would be more suitable, since tableLock is
accquired in CreateTableHandler#prepare
> 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.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