hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Daniel Cryans (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 18:41:44 GMT

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

Jean-Daniel Cryans commented on HBASE-6268:
-------------------------------------------

This is why I'm not a big fan of backports that are not simple-ish fixes...

So to me the most important would be to fix the 0.92 side as usually the infrastructure in
place will rely on the older version first. In our case we started the migration of our clusters
to 0.94 starting with the less important ones so our tools are still relying on 0.92
                
> 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