From user-return-56020-archive-asf-public=cust-asf.ponee.io@hbase.apache.org Wed Jul 10 12:16:50 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id B4AF518064A for ; Wed, 10 Jul 2019 14:16:49 +0200 (CEST) Received: (qmail 14216 invoked by uid 500); 10 Jul 2019 12:16:47 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 14202 invoked by uid 99); 10 Jul 2019 12:16:47 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jul 2019 12:16:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id AADE5C0623 for ; Wed, 10 Jul 2019 12:16:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.195 X-Spam-Level: *** X-Spam-Status: No, score=3.195 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, PDS_NO_HELO_DNS=1.294, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URI_HEX=0.1] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id eCZGuiZeLxqg for ; Wed, 10 Jul 2019 12:16:45 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.219.176; helo=mail-yb1-f176.google.com; envelope-from=wellington.chevreuil@gmail.com; receiver= Received: from mail-yb1-f176.google.com (mail-yb1-f176.google.com [209.85.219.176]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id 421F9BC52B for ; Wed, 10 Jul 2019 12:16:45 +0000 (UTC) Received: by mail-yb1-f176.google.com with SMTP id a14so658729ybm.11 for ; Wed, 10 Jul 2019 05:16:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=FZbrQTJ7Z95lnzlbCH8iCFBbFPP2/5resXfvEezZWZw=; b=scFloZBWoFJnYTCT2xyNds5oybeuK2BofhbM6kW1QNODgna1fe3x99jNehx6LI0W7K aCvZjR7XhwvXytbCT2LwtBZJf3UIOR0YP70dAM9fM6kmewlc6jJ8TJcaIOj3t/tdTGJ8 EBUDX/ptB6to5hr8+WbLC/34b3ljRRf6HZ5KZhLFMUfkpqOYzhAf7LN7M1n6oxGmE+4a RrDw/uFQGMD79p7nTc2y/XpuZnzQk6ZQOgPxW2E5h//c7OiVMPapGVSL4PCa+mNRADsy Y8ORfn86gkU+9jJppAtH3WUeXdadoO48fg1jA8wIM6NoyQ5cQDJNo6sow5Fhd0cpYz9/ RVmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=FZbrQTJ7Z95lnzlbCH8iCFBbFPP2/5resXfvEezZWZw=; b=ONeuzmJ0VrYs16+P0W0D8iNvvbqXJteIcDFjCvkqs2aAXsVDWHLiuIf5kotWAltFAX GbmM/m/trTJ1LHadK3nC+opoPLZGU/T9AXFF+aShRxag+H6RuC3603Yfpja51GNJdQDA MIpucj0mKJAhngAgAvXoKt+jHSCUxOL0EwmfpgAVX6i5UGZuf0OnurP9MH/G01HtQ/P5 FgL7fzPxmEgR0guZXqpvSiU1Aghq8hoxlyAosHN/zR88rh9Ypv6xJpjOcjvi3nlWhVz/ y3IUN5sVJexsvsCYkl4SGhOqW0rBCLfX8sTjD4I3RLf6XlTHgFqM2GByp6hbUCXPzNOz jEIQ== X-Gm-Message-State: APjAAAUkPVgEPIjjx+7J094muOEOhvmTlSMF+pKB0cCwA1ePBCxW+6c9 zLfL2L/u5rSp9Uowvennj0bWf6JGWFkbJIDs2LI5Hg54z/s= X-Google-Smtp-Source: APXvYqz+p3lblwwSxx20mQFtwZXdBu+kpLGWg+a1Otj7HszGFXz9x3YzD3agrUFaJPfNLjZoWqJr4Yo4fSt8RF1H9Eg= X-Received: by 2002:a25:bc0d:: with SMTP id i13mr18005700ybh.253.1562760999247; Wed, 10 Jul 2019 05:16:39 -0700 (PDT) MIME-Version: 1.0 References: <1562681893850-0.post@n3.nabble.com> <1562760201690-0.post@n3.nabble.com> In-Reply-To: <1562760201690-0.post@n3.nabble.com> From: Wellington Chevreuil Date: Wed, 10 Jul 2019 13:16:03 +0100 Message-ID: Subject: Re: replication - how to change peer cluster key (zookeeper) To: user@hbase.apache.org Content-Type: multipart/alternative; boundary="0000000000003aa2da058d52a64f" --0000000000003aa2da058d52a64f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yep, that's a better, concise description of what I meant. You could even do #2 after #4, doesn't really matter, as long source cluster is already trying to replicate to the new peer id. Em qua, 10 de jul de 2019 =C3=A0s 13:03, marjana escr= eveu: > You were thinking something like: > > 1. add_peer NEW_ID 'newZK' > 2. disable_peer ORIGINAL_ID 'originalZK'. > 3. stop slave hbase. move ZK. > 4. start slave hbase. Data starts coming in for NEW_ID peer. > 5. drop_peer ORIGINAL_ID > > Not sure about drop_peer, if I should do it at the end (in case something > goes wrong with the ZK move) or after I disable it at step 2. > Thanks > > > > > > -- > Sent from: > http://apache-hbase.679495.n3.nabble.com/HBase-User-f4020416.html > --0000000000003aa2da058d52a64f--