From user-return-9345-apmail-zookeeper-user-archive=zookeeper.apache.org@zookeeper.apache.org Tue Sep 22 14:46:29 2015 Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BD27D17543 for ; Tue, 22 Sep 2015 14:46:29 +0000 (UTC) Received: (qmail 25868 invoked by uid 500); 22 Sep 2015 14:46:29 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 25818 invoked by uid 500); 22 Sep 2015 14:46:29 -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 25805 invoked by uid 99); 22 Sep 2015 14:46:28 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Sep 2015 14:46:28 +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 6F309F5FA0 for ; Tue, 22 Sep 2015 14:46:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.899 X-Spam-Level: ** X-Spam-Status: No, score=2.899 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id UIURHnsG6K16 for ; Tue, 22 Sep 2015 14:46:23 +0000 (UTC) Received: from mail-io0-f169.google.com (mail-io0-f169.google.com [209.85.223.169]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 90E0C23173 for ; Tue, 22 Sep 2015 14:46:22 +0000 (UTC) Received: by ioii196 with SMTP id i196so16686354ioi.3 for ; Tue, 22 Sep 2015 07:41:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=PocwWz1OrKXO/qKp0V9oRcElMI/R4EoWqpW4+2V2Myg=; b=h6a96JmL7C0V/Nf6FcZY5tqByIHXNEfxjgEvGI7iijCLp5/m3bI+SyMM+wtodoElLZ UEYgTPmWxtDAgpr+VTuZMfYjabq/VERsChdKoWq+ifA4nvdYEemAK8uzBC9E3H+T+uw0 jU1j+UJYPxPLgxkoO1dIMHMK/IswkzNMwHv8cNsLJPabwxuhLlsQO9uFyIUveibYqSut R/5GhF2oQxIHvnU4cOTworygaFZt690y1O4U/cZdjwIjgnZorLXPmw5gyqP89rCHuY0N DaUrBuJ3T2IhgmE/TNtumNRN/GM5fZU6qkZbgkJWFaOmwqz+OTk50wcwsSBvJSf7udPp tfSA== MIME-Version: 1.0 X-Received: by 10.107.168.230 with SMTP id e99mr1040493ioj.95.1442932881412; Tue, 22 Sep 2015 07:41:21 -0700 (PDT) Received: by 10.107.55.134 with HTTP; Tue, 22 Sep 2015 07:41:21 -0700 (PDT) In-Reply-To: References: Date: Tue, 22 Sep 2015 10:41:21 -0400 Message-ID: Subject: Re: acceptedEpoch and currentEpoch values not matching exception message From: =?UTF-8?Q?Otis_Gospodneti=C4=87?= To: "user@zookeeper.apache.org" Content-Type: multipart/alternative; boundary=001a1142766cd4dbf9052056fd18 --001a1142766cd4dbf9052056fd18 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable For posterity: We removed both files, restarted this ZK instance, and ZK recovered. Never figured out where "10" and "f" were from. I think this is ZK 3.4.5, but I didn't check. Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr & Elasticsearch Support * http://sematext.com/ On Tue, Sep 22, 2015 at 12:23 AM, Otis Gospodneti=C4=87 < otis.gospodnetic@gmail.com> wrote: > Hi, > > I've got one of these after a ZK restart... and now ZK doesn't want to > start: > > java.io.IOException: The current epoch, 10 is less than the accepted > epoch, f > > cat version-2/acceptedEpoch > 15 > > cat version-2/currentEpoch > 16 > > Questions: > * Where does that "10" come from if currentEpoch file shows 16? > * Where does that "f" come from if acceptedEpoch shoes 15? > * Can I manually edit files and fix up numbers? (once I figure out which > files to edit) > > Thanks, > Otis > -- > Monitoring * Alerting * Anomaly Detection * Centralized Log Management > Solr & Elasticsearch Support * http://sematext.com/ > > --001a1142766cd4dbf9052056fd18--