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 49BC7200B66 for ; Thu, 18 Aug 2016 13:19:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 48723160ABF; Thu, 18 Aug 2016 11:19:22 +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 914E2160AAB for ; Thu, 18 Aug 2016 13:19:21 +0200 (CEST) Received: (qmail 60244 invoked by uid 500); 18 Aug 2016 11:19:20 -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 60215 invoked by uid 99); 18 Aug 2016 11:19:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Aug 2016 11:19:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8043B2C02A7 for ; Thu, 18 Aug 2016 11:19:20 +0000 (UTC) Date: Thu, 18 Aug 2016 11:19:20 +0000 (UTC) From: "Guanghao Zhang (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-16446) append_peer_tableCFs failed when there already have this table's partial cfs in the peer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 18 Aug 2016 11:19:22 -0000 [ https://issues.apache.org/jira/browse/HBASE-16446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guanghao Zhang updated HBASE-16446: ----------------------------------- Description: {code} hbase(main):011:0> list_peers PEER_ID CLUSTER_KEY STATE TABLE_CFS PROTOCOL BANDWIDTH 20 hbase://c3tst-pressure98 ENABLED default.test_replication:A NATIVE 0 1 row(s) in 0.0080 seconds hbase(main):012:0> append_peer_tableCFs '20', {"test_replication" => []} 0 row(s) in 0.0060 seconds hbase(main):013:0> list_peers PEER_ID CLUSTER_KEY STATE TABLE_CFS PROTOCOL BANDWIDTH 20 hbase://c3tst-pressure98 ENABLED default.test_replication:A NATIVE 0 1 row(s) in 0.0030 seconds {code} "test_replication" => [] means replication all cf of this table,so the result is not right. It should not just contain cf A after append. was: {code} hbase(main):011:0> list_peers PEER_ID CLUSTER_KEY STATE TABLE_CFS PROTOCOL BANDWIDTH 20 hbase://c3tst-pressure98 ENABLED default.test_replication:A NATIVE 0 1 row(s) in 0.0080 seconds hbase(main):012:0> append_peer_tableCFs '20', {"test_replication" => []} 0 row(s) in 0.0060 seconds hbase(main):013:0> list_peers PEER_ID CLUSTER_KEY STATE TABLE_CFS PROTOCOL BANDWIDTH 20 hbase://c3tst-pressure98 ENABLED default.test_replication:A NATIVE 0 1 row(s) in 0.0030 seconds {code} "test_replication" => [] means replication all cf of this table,so the result doesn't right. > append_peer_tableCFs failed when there already have this table's partial cfs in the peer > ---------------------------------------------------------------------------------------- > > Key: HBASE-16446 > URL: https://issues.apache.org/jira/browse/HBASE-16446 > Project: HBase > Issue Type: Bug > Components: Replication > Affects Versions: 2.0.0, 0.98.21 > Reporter: Guanghao Zhang > Assignee: Guanghao Zhang > Priority: Minor > > {code} > hbase(main):011:0> list_peers > PEER_ID CLUSTER_KEY STATE TABLE_CFS PROTOCOL BANDWIDTH > 20 hbase://c3tst-pressure98 ENABLED default.test_replication:A NATIVE 0 > 1 row(s) in 0.0080 seconds > hbase(main):012:0> append_peer_tableCFs '20', {"test_replication" => []} > 0 row(s) in 0.0060 seconds > hbase(main):013:0> list_peers > PEER_ID CLUSTER_KEY STATE TABLE_CFS PROTOCOL BANDWIDTH > 20 hbase://c3tst-pressure98 ENABLED default.test_replication:A NATIVE 0 > 1 row(s) in 0.0030 seconds > {code} > "test_replication" => [] means replication all cf of this table,so the result is not right. It should not just contain cf A after append. -- This message was sent by Atlassian JIRA (v6.3.4#6332)