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 65F4E97F2 for ; Fri, 9 Mar 2012 00:04:03 +0000 (UTC) Received: (qmail 21074 invoked by uid 500); 9 Mar 2012 00:04:02 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 21040 invoked by uid 500); 9 Mar 2012 00:04:02 -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 21031 invoked by uid 99); 9 Mar 2012 00:04:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Mar 2012 00:04:02 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ted.dunning@gmail.com designates 209.85.214.170 as permitted sender) Received: from [209.85.214.170] (HELO mail-tul01m020-f170.google.com) (209.85.214.170) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Mar 2012 00:03:57 +0000 Received: by obbwd1 with SMTP id wd1so1316365obb.15 for ; Thu, 08 Mar 2012 16:03:37 -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 :content-type; bh=QA6aQEwvTgjGgR85z48flJAwoLnI8yL/wDCffmg5vrM=; b=GMijJxPUMsvC4srBl3scL0iguQqT0AzaHf4d6M7zRV+AiuR+IjrXzI65fYHO/EvWHU WoI0uECijwkVBVATU679vysrbGkENkCwpjKdUKq5vlV/0RVp58kZVktcXWhXe7QaJ5dZ MIID2xXEXVk6tpgZou/deo/IXGQoakyNW2i2gx9+mejfx/txpN2/yU5Dm1SeUa+Z5ki8 Px3KrGVOF1mZk2xvCkPpmuKe/HnVtnn1sSF04hrQDmcAARmMxjxDk+84OHIB0XOXOFp7 6R/9cdb4YgpEt+S384E+/RC8tcDwNBkSiSf/cZJD8SGy50iM6Tq55U5Zb+jEA7TRXF3Y ZRUg== Received: by 10.182.52.104 with SMTP id s8mr38435obo.59.1331251417094; Thu, 08 Mar 2012 16:03:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.133.8 with HTTP; Thu, 8 Mar 2012 16:03:07 -0800 (PST) In-Reply-To: References: From: Ted Dunning Date: Thu, 8 Mar 2012 16:03:07 -0800 Message-ID: Subject: Re: Unable to restart ZK To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=14dae939960dd29b7404bac41f88 X-Virus-Checked: Checked by ClamAV on apache.org --14dae939960dd29b7404bac41f88 Content-Type: text/plain; charset=UTF-8 Can you resolve the pronouns here? It looks like ZK is running, but that Finagle will not. Is that what you meant to say? The log messages make it look like somebody assumes that a directory /twitter/servers does exist, but is finding that this directory doesn't exist. Isn't that an application error? On Thu, Mar 8, 2012 at 3:47 PM, Shelley, Ryan wrote: > I was playing with Finagle which uses ZK, however, after shutting down my > ZK instance, it won't start back up again: > > 2012-03-08 15:44:39,427 [myid:] - INFO [main:ZooKeeperServer@733] - > tickTime set to 2000 > 2012-03-08 15:44:39,427 [myid:] - INFO [main:ZooKeeperServer@742] - > minSessionTimeout set to -1 > 2012-03-08 15:44:39,427 [myid:] - INFO [main:ZooKeeperServer@751] - > maxSessionTimeout set to -1 > 2012-03-08 15:44:39,441 [myid:] - INFO [main:NIOServerCnxnFactory@110] - > binding to port 0.0.0.0/0.0.0.0:2181 > 2012-03-08 15:44:39,467 [myid:] - ERROR [main:FileTxnSnapLog@208] - > Parent /twitter/services missing for /twitter/services/testService > 2012-03-08 15:44:39,468 [myid:] - ERROR [main:ZooKeeperServerMain@63] - > Unexpected exception, exiting abnormally > java.io.IOException: Failed to process transaction type: 1 error: > KeeperErrorCode = NoNode for /twitter/services > at > org.apache.zookeeper.server.persistence.FileTxnSnapLog.restore(FileTxnSnapLog.java:151) > at org.apache.zookeeper.server.ZKDatabase.loadDataBase(ZKDatabase.java:223) > at > org.apache.zookeeper.server.ZooKeeperServer.loadData(ZooKeeperServer.java:259) > at > org.apache.zookeeper.server.ZooKeeperServer.startdata(ZooKeeperServer.java:386) > at > org.apache.zookeeper.server.NIOServerCnxnFactory.startup(NIOServerCnxnFactory.java:138) > at > org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:112) > at > org.apache.zookeeper.server.ZooKeeperServerMain.initializeAndRun(ZooKeeperServerMain.java:86) > at > org.apache.zookeeper.server.ZooKeeperServerMain.main(ZooKeeperServerMain.java:52) > at > org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:116) > at > org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78) > Caused by: org.apache.zookeeper.KeeperException$NoNodeException: > KeeperErrorCode = NoNode for /twitter/services > at > org.apache.zookeeper.server.persistence.FileTxnSnapLog.processTransaction(FileTxnSnapLog.java:209) > at > org.apache.zookeeper.server.persistence.FileTxnSnapLog.restore(FileTxnSnapLog.java:149) > ... 9 more > > I'm not sure where the data file is that I could use to purge things. > Suggestions? > > -Ryan > --14dae939960dd29b7404bac41f88--