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 DCCE2200BDC for ; Wed, 30 Nov 2016 02:10:46 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id DB649160B23; Wed, 30 Nov 2016 01:10:46 +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 9CB26160B15 for ; Wed, 30 Nov 2016 02:10:45 +0100 (CET) Received: (qmail 5277 invoked by uid 500); 30 Nov 2016 01:10:44 -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 5260 invoked by uid 99); 30 Nov 2016 01:10:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2016 01:10:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 97BF0C7C0D for ; Wed, 30 Nov 2016 01:10:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 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_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-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 (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id MLMz2-Pd3tmT for ; Wed, 30 Nov 2016 01:10:42 +0000 (UTC) Received: from mail-oi0-f42.google.com (mail-oi0-f42.google.com [209.85.218.42]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 942275F39C for ; Wed, 30 Nov 2016 01:10:41 +0000 (UTC) Received: by mail-oi0-f42.google.com with SMTP id v84so212123640oie.3 for ; Tue, 29 Nov 2016 17:10:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=oG9+wO/B/RWkKys3U9AZiQ4DuH4OW6/IslQFIJcw08c=; b=M243Uvk8bTRHf8k3vHlVyWYf7GA1bklAOjNdYZ4fJ5wuF/oeOOIIz0f0jx++7Bn4CR 2ZSDrFMMv1aMDci33okVoVHIzcJG+Oc+XDd6kCm7jgKiNArd7D5pAjRPX/DAAI00F9fe PAqaZyZCETpSJ2QcMZeWE/pXXVBkk+Tkfd1A/tIBunoQydkCgnRijRPJC3nc6xSl+2l7 Gw7GBVU4veRbD3vD5B+oX2VxDhVm45CjZ0wj2NoFBjHDRemUJ0TOS6/94x6YuakU5vLq +tX9M2HDaSpPzz6ZMHmdjqPdglrfO+3Iq6kXtz48NK6qLkB3R4HwkWi2qc9CQDYyF25K dJhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=oG9+wO/B/RWkKys3U9AZiQ4DuH4OW6/IslQFIJcw08c=; b=WkmqQ6Y11K8fov0zugEB91qjS+AJKj7Fa56c57xJ7d4XY2UDnxTWtWnQFjOBExtnJa EX/SuoVeNhek8UlzPSXd1EsoyzsEEsmIzAjJ+mOHKer/adNVdV7eNhlhktMe8E8ttJ11 TIwGiFHlondJji001CXDAhFhwPyShtqFCZ/cbSDR4eAK9zJy+9iXH3LFStUAeccLtVrV JjLaLDEz6UWGAVOpHCLWD6qSEaWB87RyDxoYdh50uRHqM6pybbk3A5F+lN897bEfybw1 u5rg2CPdvrwFRALiqyQczeJ5S+JD5GoofBBd7/K85rdoMtRnf4auQQcLdmqWA9ZMnA9J YB2g== X-Gm-Message-State: AKaTC03lJhMaMHahhexD8fsUAjk+YqA2cGcMEVNc8VGrpi0byhvDgAbzAnF2zxP82gS4TlFXcLD2pLtO1t4kJA== X-Received: by 10.157.40.79 with SMTP id h15mr18724186otd.39.1480468238844; Tue, 29 Nov 2016 17:10:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.7.78 with HTTP; Tue, 29 Nov 2016 17:10:18 -0800 (PST) In-Reply-To: <0C8A8247-324D-444A-B968-D669A5DAC306@apache.org> References: <0C8A8247-324D-444A-B968-D669A5DAC306@apache.org> From: Ben Sherman Date: Tue, 29 Nov 2016 17:10:18 -0800 Message-ID: Subject: Re: four letter commands not working as expected. To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=001a113d17dc7a46e205427a5f53 archived-at: Wed, 30 Nov 2016 01:10:47 -0000 --001a113d17dc7a46e205427a5f53 Content-Type: text/plain; charset=UTF-8 I expect if none of the 4 letter commands except ruok give a response, then the server is definitively not okay. ruup vs ruok maybe? We see the server popping into a looking state quite often, and it's the cause of 100% of our outages involving zookeeper. This isn't an initial state, it's down until a restart. On Tue, Nov 29, 2016 at 3:08 PM, Flavio Junqueira wrote: > It looks like the server is in the LOOKING state, so it is not serving > request but it is up. I'd say that ruok should return imok as long as the > server is up, it's not necessarily a health check. We could review the > semantics of the commands if this behavior and others are confusing. > > -Flavio > > > > On 29 Nov 2016, at 19:54, Ben Sherman wrote: > > > > Four letter word ruok is returning imok when the server is decidedly not > > okay - is this the expected behavior? > > > > bsherman@zk1:~$ nc localhost 2181 <<< mntr > > This ZooKeeper instance is not currently serving requests > > bsherman@zk1:~$ nc localhost 2181 <<< ruok > > imok > > > > I'm running 3.4.9. > > > > --ben > > --001a113d17dc7a46e205427a5f53--