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 47E68200CB5 for ; Wed, 12 Jul 2017 16:49:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 467DF1688DC; Wed, 12 Jul 2017 14:49:07 +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 8ECD21688C2 for ; Wed, 12 Jul 2017 16:49:06 +0200 (CEST) Received: (qmail 5807 invoked by uid 500); 12 Jul 2017 14:49:05 -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 5789 invoked by uid 99); 12 Jul 2017 14:49:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2017 14:49:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id B8633195CBF for ; Wed, 12 Jul 2017 14:49:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.629 X-Spam-Level: ** X-Spam-Status: No, score=2.629 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, 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: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id bYat83yQ4C_8 for ; Wed, 12 Jul 2017 14:49:02 +0000 (UTC) Received: from mail-oi0-f46.google.com (mail-oi0-f46.google.com [209.85.218.46]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 1D5686273A for ; Wed, 12 Jul 2017 14:39:11 +0000 (UTC) Received: by mail-oi0-f46.google.com with SMTP id p188so21183981oia.0 for ; Wed, 12 Jul 2017 07:39:11 -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=o+njmZl1Z048QuImGeRcwnx6KTdPk/r9e6B/zyERFF8=; b=GiP6byTAYa2hTHImKPF7qPgBqd4MRCexsfDBG0q4HUSR8vjs/4rnS1H4GQPWid/lJK RLQm8l3yffqWsz3XZ/qle1C8pxKAd1qrIcN8wodV/TDxj12E9VQVgik4DxXeFbsnDB5f kdMnBVg3pPv8PsEPGDRfgIHDt/Av4YhxhLH368udMbJz9XWnYTckbc61Ua4exfjkHXaL zMxQEWAuMQchnYgbwPVoHncwwp5oALs7sOTqOYYaC4JJyNhcsYEV42MCw9968t/1hEHA d5djKxnLpqONwOXNPm8zs1RjkD43kkp33+R4BmQ30mkTBfUD6BsnCJHClFQLDs/+JV8k BWVw== 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=o+njmZl1Z048QuImGeRcwnx6KTdPk/r9e6B/zyERFF8=; b=D/Ap8P7re4h9sZkdY7AoFvFd+YfFaGPLuTgVNmThwBj3C6/PCbZA4psyafEXV9fEQf JCksn+R28U5DUwZ/jfxjwqshgDbjcUowxeiSmK2WWoByVgQzFu1xuiv2ngUu4xBweW5T qSHm8LhTKG9WKejjwfm6ZEt/v1OBYMj8Q5jl5iT9peNhWJ6tJyxq2WSp4d1FuG1b57S5 hA8Fin4T2BJxzk6YRZZuzvG6wcsOmBGZOv8WLjcaJ9ujUg0YGblPHQ3d3tp/xY2lnq/r zxXfnGSIfiy8V6byQAm81kGEMhh78RO5pcYPtu8YfzDfidhITMOmKW6XmnIEjd3HVjV1 HXqQ== X-Gm-Message-State: AIVw110s4+vskrah0im+SuP3Hq6blSBS1WKA9zLjrfbg4yVpjIG5avMf /tubKtATFz3WO63h1znYWMEjSH+ARw== X-Received: by 10.202.218.7 with SMTP id r7mr4055875oig.219.1499870343946; Wed, 12 Jul 2017 07:39:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.220.230 with HTTP; Wed, 12 Jul 2017 07:39:03 -0700 (PDT) Received: by 10.182.220.230 with HTTP; Wed, 12 Jul 2017 07:39:03 -0700 (PDT) In-Reply-To: References: From: upendar devu Date: Wed, 12 Jul 2017 10:39:03 -0400 Message-ID: Subject: Re: Rolling restart zookeeper To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary="001a113d15fe0f695505541fc78b" archived-at: Wed, 12 Jul 2017 14:49:07 -0000 --001a113d15fe0f695505541fc78b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you for detailed answer.i will follow the same. On Jul 12, 2017 10:37 AM, "Washko, Daniel" wrote: This is what I would recommend. Identify the leader and restart that one last. Zookeeper should be able to remain functional and server requests during the restart of a single node. Of course you always take a risk if that node does not come back for some reason and then you will be left with and ensemble that cannot achieve quorum. After each restart verify the state of the node. echo stat | nc IP_ADDRESS_OF_NODE 2181 Will provide that information =E2=80=93 Whether it is the leader or followe= r. We run zookeeper with Solr and do not see an impact with rolling restarts of zookeeper. The only time I see problems is if we are adding new nodes to a live system or there are problems with your ensemble. If for some reason there is a zookeeper node that is not in sync with the others and that node becomes the leader, there is a potential for the data stored in zookeeper to be incomplete or wiped out. Daniel S Washko Solutions Architect dwashko@gannett.com On 7/11/17, 7:06 PM, "upendar devu" wrote: We have 3 aws instances of Kafka n zookeeper each of them.can we do rolling restart of zookeeper one instance at a time. Are there any impacts doin= g this? Please let me know. Thanks --001a113d15fe0f695505541fc78b--