hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16060) 1.x clients cannot access table state talking to 2.0 cluster
Date Mon, 12 Feb 2018 21:00:00 GMT

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

Hudson commented on HBASE-16060:
--------------------------------

FAILURE: Integrated in Jenkins build HBase-Trunk_matrix #4573 (See [https://builds.apache.org/job/HBase-Trunk_matrix/4573/])
HBASE-16060 1.x clients cannot access table state talking to 2.0 cluster (stack: rev 67b69fb2c70d3a56ac45f59d57b7f2778094a566)
* (delete) hbase-client/src/main/java/org/apache/hadoop/hbase/CoordinatedStateException.java
* (edit) hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZNodePaths.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/util/ZKDataMigrator.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestTableStateManager.java
* (edit) hbase-protocol-shaded/src/main/protobuf/ZooKeeper.proto
* (add) hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestMirroringTableStateManager.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterMetaBootstrap.java
* (add) hbase-server/src/main/java/org/apache/hadoop/hbase/master/MirroringTableStateManager.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/DeleteTableProcedure.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/AssignmentManager.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestMasterNoCluster.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/master/TableStateManager.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/ProcedureSyncWait.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/TruncateTableProcedure.java


> 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
>            Assignee: stack
>            Priority: Blocker
>             Fix For: 2.0.0-beta-2
>
>         Attachments: 0002-HBASE-16060-1.x-clients-cannot-access-table-state-ta.patch,
HBASE-16060.branch-2.001.patch, HBASE-16060.branch-2.002.patch, HBASE-16060.branch-2.003.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
(v7.6.3#76005)

Mime
View raw message