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 F39D7FFCC for ; Mon, 25 Mar 2013 20:00:06 +0000 (UTC) Received: (qmail 28024 invoked by uid 500); 25 Mar 2013 20:00:06 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 27957 invoked by uid 500); 25 Mar 2013 20:00:06 -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 27947 invoked by uid 99); 25 Mar 2013 20:00:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Mar 2013 20:00:06 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of cf@renttherunway.com designates 209.85.215.44 as permitted sender) Received: from [209.85.215.44] (HELO mail-la0-f44.google.com) (209.85.215.44) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Mar 2013 20:00:00 +0000 Received: by mail-la0-f44.google.com with SMTP id eb20so12243691lab.17 for ; Mon, 25 Mar 2013 12:59:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :x-gm-message-state; bh=XqANdv+2YSXSPYjO/5uzSHLPNl0gerYDCcme+e6Qj7Q=; b=IcQ7c1UHkyY6x5mQISb0gVIk6xZQeFkLkdFwOCwoXM/KfBU4pxqd9MnFkseSHxhNpv MHt6qN+gj241+rtztwnpVCHAgMCae20U30xwPcc9uQAtse5awrVy0VEa2DDZ2Uxd4MFI 2EIkxHQYoJ9tHqdUwfe1BVPED1U6ON0ZStl1ggVFpzhXUUDfHfQZaxPwSicifVmXBFJx GCB3+AB2aVFF8kOWrjRlJBJl+wuESS/BtyIz/UhiU3md1adtoZUUgV6VF6/Uifh5rjiG uh11MkDC5f8tOx/aSVPiNbB0BrYePVBLJBIka4UlZlf7WXVdQxYLpYK8hl7Z6WYxEDmH rVzA== MIME-Version: 1.0 X-Received: by 10.152.104.80 with SMTP id gc16mr6802206lab.49.1364241579626; Mon, 25 Mar 2013 12:59:39 -0700 (PDT) Sender: cf@renttherunway.com Received: by 10.112.134.69 with HTTP; Mon, 25 Mar 2013 12:59:39 -0700 (PDT) In-Reply-To: References: Date: Mon, 25 Mar 2013 15:59:39 -0400 X-Google-Sender-Auth: OQDehPBRSi5ZznDSuKnUUVI9uzY Message-ID: Subject: Re: how do you examine the transaction log? From: Camille Fournier To: ZooKeeper User Content-Type: multipart/alternative; boundary=f46d040714d5bdd7e604d8c53ed3 X-Gm-Message-State: ALoCoQn2jSdm5Z8pGY2sbRcAupQz0hbdtCSuYeYOfbpcIMVgXIMc7Wj23WagLk6rRMsV3jYru+Gx X-Virus-Checked: Checked by ClamAV on apache.org --f46d040714d5bdd7e604d8c53ed3 Content-Type: text/plain; charset=ISO-8859-1 org.apache.zookeeper.server.SnapshotFormatter and org.apache.zookeeper.server.LogFormatter can both be used to print out Snapshots and Txn Logs. That's what we use for stuff like this. On Mon, Mar 25, 2013 at 3:53 PM, Brian Tarbox wrote: > I'm running on Amazon's EC2 and "sometimes" find myself with ephemeral > nodes after all of my workers have exited or been terminated. > > I've seen other reports of this problem that turned out to be user error > after one of the Zookeeper maintainers dumped the transaction log and found > a problem. (See Jira issue ZOOKEEPER-1600) > > I'd love to solve this problem myself but the transaction log looks binary > to me. I see references to my nodes and paths but any actions look binary. > Is there a way to decipher the log? > > Thanks. > -- > http://about.me/BrianTarbox > --f46d040714d5bdd7e604d8c53ed3--