You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jonathan Gray (JIRA)" <ji...@apache.org> on 2008/08/25 20:55:44 UTC

[jira] Commented: (HBASE-843) Deleting and recreating a table in a single process does not work

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

Jonathan Gray commented on HBASE-843:
-------------------------------------

Appears to apply both to trunk and 0.2 branch

> Deleting and recreating a table in a single process does not work
> -----------------------------------------------------------------
>
>                 Key: HBASE-843
>                 URL: https://issues.apache.org/jira/browse/HBASE-843
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.2.1, 0.18.0
>            Reporter: Jonathan Gray
>            Assignee: Jonathan Gray
>             Fix For: 0.2.1, 0.18.0
>
>         Attachments: hbase-843-v1.patch
>
>
> When you delete and then recreate/enable the same table in the same process, when you get the HTable reference to the new table you are actually given the old table.
> The connection information is never deleted/invalidated.
> To fix, we add a call to HConnectionManager.deleteConnectionInfo(conf) at the end of HBaseAdmin.deleteTable().  This information will then be re-loaded with the latest table references once the client asks for it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.