hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-6268) Can't enable a table on a 0.94 cluster from a 0.92 client
Date Fri, 31 Aug 2012 05:17:08 GMT

     [ 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

Mime
View raw message