hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Heng Chen (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-11393) Replication TableCfs should be a PB object rather than a string
Date Sat, 21 Nov 2015 01:56:11 GMT

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

Heng Chen edited comment on HBASE-11393 at 11/21/15 1:55 AM:
-------------------------------------------------------------

{quote}
The client API calls for changing peer tableCF data changes both the ReplicationPeerConfiguration
and the deprecated tableCF znode in string format.

In this case, if a table with namespace was added, the replication might not work. But once
the upgrade is complete, replication will be fixed.
{quote}
Why not forbidden user to update tableCF zNode directly during roll upgrading?  It will be
more simple and clear. wdyt?


was (Author: chenheng):
{quote}
 In this case, if a table with namespace was added, the replication might not work. But once
the upgrade is complete, replication will be fixed.
{quote}
So we have no needs to deal with this situation, right?

> Replication TableCfs should be a PB object rather than a string
> ---------------------------------------------------------------
>
>                 Key: HBASE-11393
>                 URL: https://issues.apache.org/jira/browse/HBASE-11393
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Enis Soztutar
>             Fix For: 2.0.0
>
>         Attachments: HBASE-11393.patch, HBASE-11393_v1.patch, HBASE-11393_v10.patch,
HBASE-11393_v2.patch, HBASE-11393_v3.patch, HBASE-11393_v4.patch, HBASE-11393_v5.patch, HBASE-11393_v6.patch,
HBASE-11393_v7.patch, HBASE-11393_v8.patch, HBASE-11393_v9.patch
>
>
> We concatenate the list of tables and column families in format  "table1:cf1,cf2;table2:cfA,cfB"
in zookeeper for table-cf to replication peer mapping. 
> This results in ugly parsing code. We should do this a PB object. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message