Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 06008200BB4 for ; Tue, 18 Oct 2016 06:01:03 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 04B03160AF0; Tue, 18 Oct 2016 04:01:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 71C8A160AEC for ; Tue, 18 Oct 2016 06:01:02 +0200 (CEST) Received: (qmail 92485 invoked by uid 500); 18 Oct 2016 04:01:01 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 92452 invoked by uid 99); 18 Oct 2016 04:01:01 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Oct 2016 04:01:01 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 5A0522C4C74 for ; Tue, 18 Oct 2016 04:01:01 +0000 (UTC) Date: Tue, 18 Oct 2016 04:01:01 +0000 (UTC) From: "Guanghao Zhang (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-16868) Avoid appending table to a peer which replicates all tables MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 18 Oct 2016 04:01:03 -0000 Guanghao Zhang created HBASE-16868: -------------------------------------- Summary: Avoid appending table to a peer which replicates all tables Key: HBASE-16868 URL: https://issues.apache.org/jira/browse/HBASE-16868 Project: HBase Issue Type: New Feature Components: Replication Affects Versions: 2.0.0 Reporter: Guanghao Zhang First add a new peer by shell cmd. {code} add_peer '1', CLUSTER_KEY => "server1.cie.com:2181:/hbase". {code} If we don't set namespaces and table cfs in peer config. It means replicate all tables to the peer cluster. Then append a table to the peer config. {code} append_peer_tableCFs '1', {"table1" => []} {code} Then this peer will only replicate table1 to the peer cluster. It changes to replicate only one table from replicate all tables in the cluster. It is very easy to misuse in production cluster. So we should avoid appending table to a peer which replicates all table. -- This message was sent by Atlassian JIRA (v6.3.4#6332)