From user-return-12080-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Tue Aug 20 18:30:00 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 754AA18063F for ; Tue, 20 Aug 2019 20:30:00 +0200 (CEST) Received: (qmail 35391 invoked by uid 500); 20 Aug 2019 18:29:58 -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 35188 invoked by uid 99); 20 Aug 2019 18:29:57 -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; Tue, 20 Aug 2019 18:29:57 +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 7AC07C1597 for ; Tue, 20 Aug 2019 18:29:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.301 X-Spam-Level: ** X-Spam-Status: No, score=2.301 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, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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-he-de.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id RS8dcJKl_xEh for ; Tue, 20 Aug 2019 18:29:54 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::d44; helo=mail-io1-xd44.google.com; envelope-from=subharaj.manna@gmail.com; receiver= Received: from mail-io1-xd44.google.com (mail-io1-xd44.google.com [IPv6:2607:f8b0:4864:20::d44]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id E488E7DD49 for ; Tue, 20 Aug 2019 18:29:53 +0000 (UTC) Received: by mail-io1-xd44.google.com with SMTP id z3so14269143iog.0 for ; Tue, 20 Aug 2019 11:29:53 -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=0IrcI2hU6hresAH/Hzhi2hjjg82ebQN3O7rYOsein6g=; b=UX2S6dSv4BU+bRFX46V4nIZn+rOHEVtYqNlfmF46EGyZBI6Ew06HXB/NS9QqDTQwnn L2QkCsbwJ3AoVxiYtHzju8orb1Llz42NbB3TllQAD6AVo+D//wY4YPbdrpbYdVys4UVw lsuJN6644pm5jgvtHXuLwyDUTCvqBoTb8WPmqhj8/saxg89J9GGXgZvQpnCYR+RNG6UK VyDPeoVrUnyLFtndpql4vYShzghnhuz+xKrziaYJ4b2/WOKk8+B367uUwSffRX9jqYtq ofUBROGOLQEdRbeahkmmV0xpZrJ+rsCAgMqxgGRwIxsg5f0GCFCLwoROqybUpOpmHekv HXgw== 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=0IrcI2hU6hresAH/Hzhi2hjjg82ebQN3O7rYOsein6g=; b=NxbUKWIjNZp8JVaS9Us2UUW/bx9653R/hRc/Dte3kG6rMBhb0tRcLK71AtXbgIAg+M ebX1nnkwSKaYhNrMJSckPGPBjr4AJKhFQRKaBKrOlKzsvigWqLBFYyE6xFibBaBtcm1Q Iyjoy64D91w9j6Hl0RTevrZCBCWxmhgNSxJZ+lc9Wt3T6j7Jt1OYo20LVTPzbKxZbGLw ZURxH2bcQ+Dl0kr0f2bY+vIl1XZzkCUvqfeJfgzA6TV7fDW+l6i+pOnTixqMOST69uz8 vDVKq3hVbyF4tSIxyOhws6f2+Abadc/mmIElq+9rjQLzfBSzjkPiyDBHYwRF5O3nnhmL P3NQ== X-Gm-Message-State: APjAAAV65ovJVvoMja+66DUm9XuiMImrG1+W+s+ACdqCkPBjBeNWngQ/ 8Ffo4gdEMrSMwL/o6nwqguxqsP7h478ZBN0AbEHXlw== X-Google-Smtp-Source: APXvYqyrveSObcp5BLQLH2r9jRfE6OIWxPWXvOZv2wK7kpz/1ZggujT2KVnBAy5TUEPHa0ij3Rqhe5uU+3zeFqh+vi4= X-Received: by 2002:a02:c94b:: with SMTP id u11mr5033145jao.35.1566325792341; Tue, 20 Aug 2019 11:29:52 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Debraj Manna Date: Tue, 20 Aug 2019 23:59:26 +0530 Message-ID: Subject: Re: The current epoch, 7, is older than the last zxid, 8589935882 To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary="0000000000007485e0059090a4d8" --0000000000007485e0059090a4d8 Content-Type: text/plain; charset="UTF-8" The same has been asked in stackoverflow also. But no response there also. Anyone any thoughts on this one? On Tue, Aug 20, 2019 at 4:43 PM Debraj Manna wrote: > Posted wrong Jira link. I meant > https://issues.apache.org/jira/browse/ZOOKEEPER-2354. Can someone let me > know what is the recommended way to recover the node? > > support@platform2:/var/lib/zookeeper/version-2$ sudo cat acceptedEpoch > 8support@platform2:/var/lib/zookeeper/version-2$ sudo cat currentEpoch > 7support@platform2:/var/lib/zookeeper/version-2$ sudo cat currentEpoch.tmp > 8support@platform2 > > On Tue, Aug 20, 2019 at 3:14 PM Debraj Manna > wrote: > >> Hi >> >> I am using a zookeeper ensemble of 3 nodes running 3.4.13. Sometimes >> after reboot of machine zookeeper is not starting and I am seeing the below >> errors in logs. >> >> I have seen https://issues.apache.org/jira/browse/ZOOKEEPER-1653 . Can >> someone let me if this is fixed in 3.4.13 or not as I can see the issue >> still open? Also can somone suggest what is the recommended way to recover >> the set-up ? >> >> 2019-08-19 04:18:36,906 [myid:2] - ERROR [main:QuorumPeer@692] - Unable >> to load database on disk >> java.io.IOException: The current epoch, 7, is older than the last zxid, >> 34359738370 >> at >> org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:674) >> at >> org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:635) >> at >> org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:170) >> at >> org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:114) >> at >> org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:81) >> 2019-08-19 04:18:36,908 [myid:2] - ERROR [main:QuorumPeerMain@92] - >> Unexpected exception, exiting abnormally >> java.lang.RuntimeException: Unable to run quorum server >> at >> org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:693) >> at >> org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:635) >> at >> org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:170) >> at >> org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:114) >> at >> org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:81) >> Caused by: java.io.IOException: The current epoch, 7, is older than the >> last zxid, 34359738370 >> at >> org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:674) >> ... 4 more---- >> >> >> --0000000000007485e0059090a4d8--