You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Y. SREENIVASULU REDDY (JIRA)" <ji...@apache.org> on 2015/10/29 14:02:27 UTC
[jira] [Updated] (HBASE-14717) Enable_table_replication should not
create table in peer cluster if specified few tables added in peer
[ https://issues.apache.org/jira/browse/HBASE-14717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Y. SREENIVASULU REDDY updated HBASE-14717:
------------------------------------------
Description:
For a peer only user specified tables should be created but enable_table_replication command is not honouring that.
eg:
like peer1 : t1:cf1, t2
create 't3', 'd'
enable_table_replication 't3' > should not create t3 in peer1
was:
Enable_table_replication should not create table in peer cluster.
if specified few tables only added in peer, while performing the add_peer operation.
eg:
{code}
hbase(main):044:0> list_peers
PEER_ID CLUSTER_KEY STATE TABLE_CFS
peer2 vm1,vm2,vm3:2181:/hbase ENABLED repCluster3; table3:d
peer1 vm7,vm8,vm9:2181:/hbase ENABLED
{code}
But created an another table, lets say
{code}
create 'TableShouldNotReplicate', 'fam'
{code}
then perform enable_table_replication on TableShouldNotReplicate
then table should create only in 'peer1' cluster only, but not in 'peer2' cluster.
> Enable_table_replication should not create table in peer cluster if specified few tables added in peer
> ------------------------------------------------------------------------------------------------------
>
> Key: HBASE-14717
> URL: https://issues.apache.org/jira/browse/HBASE-14717
> Project: HBase
> Issue Type: Bug
> Components: Replication
> Affects Versions: 1.0.2
> Reporter: Y. SREENIVASULU REDDY
> Assignee: Ashish Singhi
>
> For a peer only user specified tables should be created but enable_table_replication command is not honouring that.
> eg:
> like peer1 : t1:cf1, t2
> create 't3', 'd'
> enable_table_replication 't3' > should not create t3 in peer1
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)