You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2012/08/31 07:17:08 UTC
[jira] [Updated] (HBASE-6268) Can't enable a table on a 0.94
cluster from a 0.92 client
[ https://issues.apache.org/jira/browse/HBASE-6268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu updated HBASE-6268:
--------------------------
Attachment: 6268-92.txt
Patch as suggested by Lars.
> 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
>
> Attachments: 6268-92.txt
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira