hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8538) HBaseAdmin#isTableEnabled() should check table existence before checking zk state.
Date Fri, 17 May 2013 08:37:17 GMT

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

Hudson commented on HBASE-8538:
-------------------------------

Integrated in HBase-0.94 #986 (See [https://builds.apache.org/job/HBase-0.94/986/])
    HBASE-8538 HBaseAdmin#isTableEnabled() should check table existence before checking zk
state. (rajeshbabu) (Revision 1483657)

     Result = SUCCESS
larsh : 
Files : 
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKTableReadOnly.java
* /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java

                
> HBaseAdmin#isTableEnabled() should check table existence before checking zk state.
> ----------------------------------------------------------------------------------
>
>                 Key: HBASE-8538
>                 URL: https://issues.apache.org/jira/browse/HBASE-8538
>             Project: HBase
>          Issue Type: Bug
>          Components: Admin
>            Reporter: rajeshbabu
>            Assignee: rajeshbabu
>             Fix For: 0.94.8
>
>         Attachments: HBASE-8538_94.patch
>
>
> To avoid compatibility issues with older versions HBaseAdmin#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