[
https://issues.apache.org/jira/browse/HBASE-12947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prabhu Joseph updated HBASE-12947:
----------------------------------
Description:
Problem:
When tables are created dynamically in Hbase cluster, the Replication
feature can't be used as the new table does not exist in peer cluster. To use
the replication, we need to create same table in peer cluster also.
Having API to replicate the create table statement at peer cluster will be
more helpful in such cases.
Solution:
create 'table','cf',replication => true , peerFlag => true
if peerFlag = true, the table with the column family has to be created at
peer
cluster.
Special cases like enabling replication at peer cluster also for cyclic
replication has to be considered.
was:
Problem:
When tables are created dynamically in Hbase cluster, the Replication
feature can't be used as the new table does not exist in peer cluster. To use
the replication, we need to create same table in peer cluster also.
Having API to replicate the create table statement at peer cluster will be
more helpful in such cases.
Solution:
create 'table','cf',replication => true , geoFlag => true
if geoFlag = true, the table with the column family has to be created at
peer
cluster.
Special cases like enabling replication at peer cluster also for cyclic
replication has to be considered.
> Replicating DDL statements like create from one cluster to another
> -------------------------------------------------------------------
>
> Key: HBASE-12947
> URL: https://issues.apache.org/jira/browse/HBASE-12947
> Project: HBase
> Issue Type: New Feature
> Components: Replication
> Affects Versions: 2.0.0
> Reporter: Prabhu Joseph
> Priority: Critical
> Fix For: 2.0.0
>
>
> Problem:
> When tables are created dynamically in Hbase cluster, the Replication
> feature can't be used as the new table does not exist in peer cluster. To use
> the replication, we need to create same table in peer cluster also.
> Having API to replicate the create table statement at peer cluster will be
> more helpful in such cases.
> Solution:
> create 'table','cf',replication => true , peerFlag => true
> if peerFlag = true, the table with the column family has to be created at
> peer
> cluster.
> Special cases like enabling replication at peer cluster also for cyclic
> replication has to be considered.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)