hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-9054) HBaseAdmin#isTableDisabled() should check table existence before checking zk state.
Date Wed, 11 Sep 2013 16:11:57 GMT

     [ https://issues.apache.org/jira/browse/HBASE-9054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ted Yu resolved HBASE-9054.
---------------------------

    Resolution: Duplicate

Patch that covers both isTableDisabled() and isTableEnabled() is attached to HBASE-9462
                
> HBaseAdmin#isTableDisabled() should check table existence before checking zk state. 
> ------------------------------------------------------------------------------------
>
>                 Key: HBASE-9054
>                 URL: https://issues.apache.org/jira/browse/HBASE-9054
>             Project: HBase
>          Issue Type: Bug
>          Components: Admin
>    Affects Versions: 0.94.10
>            Reporter: Bene Guo
>             Fix For: 0.94.13
>
>         Attachments: HBASE-9054-94.patch
>
>
> To avoid compatibility issues with older versions HBaseAdmin#isTableDisabled and HBaseAdmin#isTableEnabled()(The
HBASE-8538 fix isTableEnabled.) returning true even if the table state is null. Its also returning
true even a table is not present. We should confirm table existence from .META. before checking
in zk. If table not present or deleted, then It will throw TableNotFoundException.

--
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

Mime
View raw message