hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6268) Can't enable a table on a 0.94 cluster from a 0.92 client
Date Wed, 27 Jun 2012 04:00:44 GMT

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

Lars Hofhansl commented on HBASE-6268:
--------------------------------------

Sigh... It seems we cannot easily fix this 0.94.1, since we'd have to roll back a bigger change.
Is 0.92.2 good enough, though?
The 0.92 fix is obviously trivial just check for TableState.ENABLED or null.

                
> Can't enable a table on a 0.94 cluster from a 0.92 client
> ---------------------------------------------------------
>
>                 Key: HBASE-6268
>                 URL: https://issues.apache.org/jira/browse/HBASE-6268
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jean-Daniel Cryans
>             Fix For: 0.92.2
>
>
> In 0.92 we know a table's enabled by doing this in HCM.isEnabledTable:
> bq. return getTableState(zkw, tableName) == null;
> In 0.94 we do:
> bq. return getTableState(zkw, tableName) == TableState.ENABLED;
> So what happens is that the the 0.92 client will hang forever since the znode contains
ENABLED instead of being absent.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message