You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2017/09/05 23:54:00 UTC

[jira] [Updated] (HBASE-16060) 1.x clients cannot access table state talking to 2.0 cluster

     [ https://issues.apache.org/jira/browse/HBASE-16060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-16060:
--------------------------
    Attachment: 0002-HBASE-16060-1.x-clients-cannot-access-table-state-ta.patch

WIP patch. Brings back old zk writer classes for table state. Need to hook them up. I think we need an auto-migration too on initial startup of hbase2 so we migrate old cluster table states to new system.... one time.

> 1.x clients cannot access table state talking to 2.0 cluster
> ------------------------------------------------------------
>
>                 Key: HBASE-16060
>                 URL: https://issues.apache.org/jira/browse/HBASE-16060
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Enis Soztutar
>            Priority: Blocker
>             Fix For: 2.0.0-alpha-3
>
>         Attachments: 0002-HBASE-16060-1.x-clients-cannot-access-table-state-ta.patch
>
>
> Since table state is migrated to meta instead of zk in 2.0, 1.x clients talking to 2.0 cluster cannot access the table state. This causes some weird behavior since from a client perspective, {{Admin.isTableEnabled()}} and {{Admin.isTableDisabled()}} both return false. 
> One option we can do is to add code in 1.x clients so that they can access the table state in meta if needed. Otherwise, we can mirror the table state in zk (while keeping meta as the source of truth) during 2.x lifecycle so that any 1.x client can still work correctly. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)