Return-Path: X-Original-To: apmail-zookeeper-bookkeeper-user-archive@minotaur.apache.org Delivered-To: apmail-zookeeper-bookkeeper-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B7BB7965A for ; Tue, 12 Jun 2012 14:02:16 +0000 (UTC) Received: (qmail 38614 invoked by uid 500); 12 Jun 2012 14:02:16 -0000 Delivered-To: apmail-zookeeper-bookkeeper-user-archive@zookeeper.apache.org Received: (qmail 38585 invoked by uid 500); 12 Jun 2012 14:02:16 -0000 Mailing-List: contact bookkeeper-user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bookkeeper-user@zookeeper.apache.org Delivered-To: mailing list bookkeeper-user@zookeeper.apache.org Received: (qmail 38577 invoked by uid 99); 12 Jun 2012 14:02:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2012 14:02:16 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gabriel.russell@gmail.com designates 209.85.160.170 as permitted sender) Received: from [209.85.160.170] (HELO mail-gh0-f170.google.com) (209.85.160.170) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2012 14:02:08 +0000 Received: by ghbg2 with SMTP id g2so3147999ghb.15 for ; Tue, 12 Jun 2012 07:01:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=s2DefscnqilRiF9r7uyonfNa+uMMRobhRvt1WqWEWYQ=; b=h45Hz8QAaV+vJlAaWAwMVW7hDGFgTitdvKTUtBuvUCQJG3O/hDB0EI9uTOnqK9iYDp QX6N6cQIyo9snFhOtGA4lg6EKrrXpZzZvab22B6NitB5hIeyKCu+0PQR1m7hl0MMMQlZ BMQ5GCprsXVxR0MUJ6+ELqUOEQna8FV+O9xSdSJRo+zUIgWNGAc/pJQp2PGqaDfHOmER TunVC2Oye/KQBuw+HlgwHz9iaYPtHekFUMSzr7hChAtIsCSYbeYJa8ZvaQdSRTmcVMX0 6YwnyvCqFQzNOAUjR33vaSbboJOdvkqgrzxA8HDWGELuyaGW4U2kFk/iS7Www1R35h27 So9w== MIME-Version: 1.0 Received: by 10.60.23.193 with SMTP id o1mr20462505oef.7.1339509707571; Tue, 12 Jun 2012 07:01:47 -0700 (PDT) Sender: gabriel.russell@gmail.com Received: by 10.76.84.161 with HTTP; Tue, 12 Jun 2012 07:01:47 -0700 (PDT) In-Reply-To: <20120612132807.GD20278@moloch.vm.bytemark.co.uk> References: <20120612072156.GB20278@moloch.vm.bytemark.co.uk> <20120612132807.GD20278@moloch.vm.bytemark.co.uk> Date: Tue, 12 Jun 2012 10:01:47 -0400 X-Google-Sender-Auth: FgmkiX9tnFndnVKtLjTePskfQMA Message-ID: Subject: Re: when I run mvn test most of the tests fail in org.apache.bookkeeper.client.BookKeeper.createLedger From: gabriel russell To: bookkeeper-user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=e89a8fb1f2d44b037a04c246e82f --e89a8fb1f2d44b037a04c246e82f Content-Type: text/plain; charset=ISO-8859-1 [grussell@centos bookkeeper]$ /sbin/sysctl -n net.ipv6.bindv6only 0 On Tue, Jun 12, 2012 at 9:28 AM, Ivan Kelly wrote: > > I'm not running a zookeeper ensemble. I shouldn't be right? When I try to > > run the bookkeeper tests with a zookeeper running I get lots of > > "java.net.BindException: Address already in use" exceptions. > Nope, the tests start a zk ensemble for you. If there's one already in > place, you'll have a problem you'll get this error, but it doesn't > seem to be the case here. > > > I couldn't figure out how to provide a log4j.properties to the tests, > but I > > don't really know for sure that better logging output will reveal > anything > > useful or now. If someone points me in the right direction, I'll provide > an > > output containing debugging logs. > To turn on logging, modify > bookkeeper-server/src/test/resources/log4j.properties > > Could you run /sbin/sysctl -n net.ipv6.bindv6only and tell us the > output. > > -Ivan > --e89a8fb1f2d44b037a04c246e82f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
[grussell@centos bookkeeper]$ /sbin/sysctl -n net.ipv6.bindv6only
0


On Tue, Jun 12, = 2012 at 9:28 AM, Ivan Kelly <ivank@apache.org> wrote:
> I'm not running a= zookeeper ensemble. I shouldn't be right? When I try to
> run the bookkeeper tests with a zookeeper running I get lots of
> "java.net.BindException: Address already in use" exceptions.=
Nope, the tests start a zk ensemble for you. If there's one alrea= dy in
place, you'll have a problem you'll get this error, but it doesn= 9;t
seem to be the case here.

> I couldn't figure out how to provide a log4j.properties to the tes= ts, but I
> don't really know for sure that better logging output will reveal = anything
> useful or now. If someone points me in the right direction, I'll p= rovide an
> output containing debugging logs.
To turn on logging, modify
bookkeeper-server/src/test/resources/log4j.properties

Could you run /sbin/sysctl -n net.ipv6.bindv6only and tell us the
output.

-Ivan

--e89a8fb1f2d44b037a04c246e82f--