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 EBFD2200CD3 for ; Fri, 14 Jul 2017 03:19:54 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EA65516D282; Fri, 14 Jul 2017 01:19:54 +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 3C61F16D281 for ; Fri, 14 Jul 2017 03:19:54 +0200 (CEST) Received: (qmail 40611 invoked by uid 500); 14 Jul 2017 01:19:52 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 40599 invoked by uid 99); 14 Jul 2017 01:19:52 -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; Fri, 14 Jul 2017 01:19:52 +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 95D74C08D9 for ; Fri, 14 Jul 2017 01:19:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id PUz51V2gMAfT for ; Fri, 14 Jul 2017 01:19:50 +0000 (UTC) Received: from mail-lf0-f41.google.com (mail-lf0-f41.google.com [209.85.215.41]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id E05C65FCD2 for ; Fri, 14 Jul 2017 01:19:49 +0000 (UTC) Received: by mail-lf0-f41.google.com with SMTP id z78so45982169lff.0 for ; Thu, 13 Jul 2017 18:19:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=P18tK3umRUgRnPLvPq9pQ7txhS1PT7zfbhf68FttLko=; b=crlj+VMh7ARICKJu9ggI+QkR/JlVw8n5hbPUd/PZvPARKUdnZ4nO1uM8FrpF/2w6At i89xTsIn8CEl6lE00ld4gAWLRbtMCImOr0J+eh0m6b4b39fgQW3n41VmQBt1ZVIOfTEy uSjAIPYVbsdt3uBhjTgEwGio0aqGAbUXqF1mnMYe0rmgzCHSk5AnUvja7uWyvcetPnzn QvhMNOMP0YmMg1AOCHbh8tBff9HZr8BzUv81K3NuaBBz2mVpwWBmvM/MCJWmoxG/tS0X /Cblz2T1em6V9l14efEIjsRlvalGyvcJfIetAiHyIZeGXvS/UVvq8tvRO9Wdo/UlRiNb lcxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=P18tK3umRUgRnPLvPq9pQ7txhS1PT7zfbhf68FttLko=; b=SKLq03kcQiG6EIjWgYxsjMEBeEe0qx7AJYvSRlwhGiwfX9q1s/zBBFFZdpJZZ1ckCi vSYShSRknOhhKMD51GWkhu47xCQb48gLT6ihr9svpMS6pVZvAicCjcGnikh0NqNlLRv5 yw0/sOV5bSiN2XTcbWP66giOWcbsIZg4t52ZX1Y8iTlZEYcQBdVeJqWuKmxWtYMvKpMj LEqZJ5bYbKnzZXKy5sG204glJe4vxgEtMUMlit/qTDJ0bGalKGFig8mmW3Yj+gz9LAKH Ujy7m1NGF46eWpfQVkfGZqyyF4PK5mUR2ZJSKaFCdbgWJwSRjv7pY0oYSSksqH6crb+F ODmQ== X-Gm-Message-State: AIVw1128T7V4ziLpdGBw4SH32v1U/0IJLB1FLdeYhLaWd7f8+8mkSOgw 2KOFCkB0MRI4qEPvhpYrN1PkyZORN9NC X-Received: by 10.25.165.83 with SMTP id o80mr2060840lfe.115.1499995183281; Thu, 13 Jul 2017 18:19:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.46.21.71 with HTTP; Thu, 13 Jul 2017 18:19:22 -0700 (PDT) In-Reply-To: References: From: Alexander Shraer Date: Thu, 13 Jul 2017 18:19:22 -0700 Message-ID: Subject: Re: gracefully remove a node from the ensamble To: "user@zookeeper.apache.org" Content-Type: multipart/alternative; boundary="001a114116da107ae705543cd879" archived-at: Fri, 14 Jul 2017 01:19:55 -0000 --001a114116da107ae705543cd879 Content-Type: text/plain; charset="UTF-8" Hi Luigi, In 3.5.X yes: https://zookeeper.apache.org/doc/trunk/zookeeperReconfig.html For previous releases (3.4 etc) you would need to do a rolling restart, where for each server you change the config file to exclude that member and bounce the server. Preferably do this one server at a time, and let the ensemble be operational before bouncing the next server. And bounce the leader last. I wouldn't call this gracefully though :) Alex On Thu, Jul 13, 2017 at 3:22 PM, Luigi Tagliamonte < luigi.tagliamonte86@gmail.com> wrote: > Hello all! > is there any document that describes how to remove a zk node from the > ensemble? > --001a114116da107ae705543cd879--