[
https://issues.apache.org/jira/browse/HBASE-843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Gray updated HBASE-843:
--------------------------------
Fix Version/s: 0.18.0
Status: Patch Available (was: Open)
Patch tested, applies to trunk
> 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.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.