Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 208A9200B13 for ; Wed, 15 Jun 2016 20:24:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1F2F4160A4D; Wed, 15 Jun 2016 18:24:24 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1764C160A19 for ; Wed, 15 Jun 2016 20:24:22 +0200 (CEST) Received: (qmail 27273 invoked by uid 500); 15 Jun 2016 18:24:22 -0000 Mailing-List: contact user-help@curator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@curator.apache.org Delivered-To: mailing list user@curator.apache.org Received: (qmail 27263 invoked by uid 99); 15 Jun 2016 18:24:22 -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; Wed, 15 Jun 2016 18:24:22 +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 C6D79C019A for ; Wed, 15 Jun 2016 18:24:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.299 X-Spam-Level: * X-Spam-Status: No, score=1.299 tagged_above=-999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id F8OQXRqCbWMV for ; Wed, 15 Jun 2016 18:24:19 +0000 (UTC) Received: from mail-io0-f175.google.com (mail-io0-f175.google.com [209.85.223.175]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 0690C5F4E5 for ; Wed, 15 Jun 2016 18:24:19 +0000 (UTC) Received: by mail-io0-f175.google.com with SMTP id t74so21129189ioi.0 for ; Wed, 15 Jun 2016 11:24:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Vj1rP0tpmCKv6RLV3EbzsxsALbo+NaSTXVmiIlHdS2I=; b=W2iZYtqXhyJ5PSmP93gUMGsb4KxHX+0Bd5z4I/1n+R2vTqXOqDQayckyO2rJTgErJo QoEoV5feDguSxlFxO1HlQ911neet5zLNbkQJj8WXeUx8kCVcmvyfyy+XyBJegqaPT68Z BQdM0rTM5kC1GeAPLPdenTPWKVqsbGn4a3M4TyBu3oD2loHCPfOxHYTlyBqiYz1QRl/o +mE1F3vL36gNMEdVT5MoUEzgWgvr8dBfMr9b9L3f7chihp3Ik2hACKC3zNZ0dhT6sY4k yiRwOM27O0/9Iv2vDfl6Z+1n1rxO0ZesUxkuVaF3y9tdKGn4Lvj/tloeIrDqWEfGldTu fECw== X-Gm-Message-State: ALyK8tKn3tL1mh1CdlNGk0DXxuuMpT0spkeLOoRjsS1QxHw7DUP/W6N4F2dvs0g5rQUDrIBf0P2FBisMXmnCmQ== X-Received: by 10.107.156.203 with SMTP id f194mr1370159ioe.112.1466015057886; Wed, 15 Jun 2016 11:24:17 -0700 (PDT) MIME-Version: 1.0 References: <6DCD6096-A2D4-4C3B-BF2F-C1FE96773172@jordanzimmerman.com> <6B6A999E-4011-49B8-A311-648FF46033CD@jordanzimmerman.com> In-Reply-To: From: Arnon Moscona Date: Wed, 15 Jun 2016 18:24:08 +0000 Message-ID: Subject: Re: Problem starting TestingServer To: user@curator.apache.org Content-Type: multipart/alternative; boundary=001a1140cd00c2c6f40535553a63 archived-at: Wed, 15 Jun 2016 18:24:24 -0000 --001a1140cd00c2c6f40535553a63 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I was wrong then. Didn't check that. On Wed, Jun 15, 2016 at 11:22 AM Jordan Zimmerman < jordan@jordanzimmerman.com> wrote: > ZooKeeper 3.5.x is in the release branch of Maven Central. > > -JZ > > On Jun 15, 2016, at 1:21 PM, Arnon Moscona wrote: > > Ah. Well, I think it explains the Maven behavior though. I believe it > would only pull production versions unless you tell it otherwise. > > On Wed, Jun 15, 2016 at 11:04 AM Jordan Zimmerman < > jordan@jordanzimmerman.com> wrote: > >> We have two concurrent releases right now. People are using ZooKeeper 3.= 5 >> in production so we need to be at parity with them. >> >> -Jordan >> >> On Jun 15, 2016, at 1:02 PM, Arnon Moscona wrote: >> >> Thanks for the quick reply. >> Switching to Curator to 2.10.0 solved the problem with the smoke test. >> Now I can go back to my other bugs :-) >> >> As for Maven: Zookeeper 3.5 is in alpha. Latest stable is 3.4.8. I would >> think that Curator should not be released ahead of the Zookeeper depende= ncy. >> >> On Wed, Jun 15, 2016 at 10:51 AM Jordan Zimmerman < >> jordan@jordanzimmerman.com> wrote: >> >>> Curator 3.x is only to be used with ZooKeeper 3.5. I=E2=80=99m actually >>> surprised that Maven didn=E2=80=99t pull in ZooKeeper 3.5 anyway. >>> >>> http://curator.apache.org - see the note on versions at the bottom >>> >>> >>> On Jun 15, 2016, at 12:48 PM, Arnon Moscona wrote: >>> >>> Hi! >>> >>> I have a problem that I cannot find any answers for. Simply starting a >>> TestingServer no longer works. I created a simple smoke test to replica= te >>> and the problem happens exactly the same in my Fedora box as well on my >>> Windows box. >>> >>> Smoke test: >>> >>> package net.projectmonastery.monastery.zookeeper.data; >>> >>> import org.apache.curator.test.TestingServer; >>> import org.junit.Test; >>> >>> /** >>> * Created by arnon on 6/15/16. >>> */ >>> public class ZookeeperSmokeTest { >>> @Test >>> public void smokeTest() throws Exception { >>> TestingServer server =3D new TestingServer(true); >>> } >>> } >>> >>> Result: >>> >>> *java.lang.IllegalStateException: Timed out waiting for watch removal* >>> at >>> org.apache.curator.test.TestingZooKeeperMain.blockUntilStarted(TestingZ= ooKeeperMain.java:153) >>> at >>> org.apache.curator.test.TestingZooKeeperServer.start(TestingZooKeeperSe= rver.java:159) >>> at org.apache.curator.test.TestingServer.(TestingServer.java:117) >>> at org.apache.curator.test.TestingServer.(TestingServer.java:100) >>> at org.apache.curator.test.TestingServer.(TestingServer.java:52) >>> at >>> net.projectmonastery.monastery.zookeeper.data.ZookeeperSmokeTest.smokeT= est(ZookeeperSmokeTest.java:12) >>> at ... >>> >>> Dependencies: >>> >>> >>> org.apache.zookeeper >>> zookeeper >>> 3.4.8 >>> >>> >>> org.apache.curator >>> curator-framework >>> 3.1.0 >>> >>> >>> org.apache.curator >>> curator-test >>> 3.1.0 >>> >>> >>> org.apache.curator >>> curator-recipes >>> 3.1.0 >>> >>> >>> org.apache.curator >>> curator-x-discovery >>> 3.1.0 >>> >>> >>> =E2=80=A6 >>> >>> Any ideas welcome >>> >>> -- >>> >>> ---- >>> >>> Arnon Moscona >>> arnon@moscona.com >>> >>> *In God we trust, all others must bring data* >>> *- The elements of statistical learning* >>> (attributed by many to W. Edwars Deming, but no data supports it) >>> >>> >>> >> > --001a1140cd00c2c6f40535553a63 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I was wrong then. Didn't check that.

On Wed, Jun 15, 2016 at 11:22 AM Jordan= Zimmerman <jordan@jordanz= immerman.com> wrote:
ZooKeeper 3.5.x is in the release branch = of Maven Central.

<= /div>
-JZ

On Jun 15, 2016, at 1:21 PM, Arnon Moscona <arnon@moscona.com&= gt; wrote:

Ah. Well, I think it explains the= Maven behavior though. I believe it would only pull production versions un= less you tell it otherwise.

On Wed, Jun 15, 2016 at 11:04 AM Jordan Zimmerman <jordan@jordanzimmerman.com= > wrote:
We have two concurrent releases right now. People are= using ZooKeeper 3.5 in production so we need to be at parity with them.

-Jordan

On Jun 15, 2016, at 1:02 PM, Arnon Moscona <arnon@moscona.com> wrote:
=
Thanks for the quick reply.=C2=A0
Switching t= o Curator to 2.10.0 solved the problem with the smoke test. Now I can go ba= ck to my other bugs :-)

As for Maven: Zookeeper 3.= 5 is in alpha. Latest stable is 3.4.8. I would think that Curator should no= t be released ahead of the Zookeeper dependency.

On Wed, Jun 15, 2016 at 10:51 AM Jordan Z= immerman <jordan@jordanzimmerman.com> wrote:
Curator 3.x is only to be= used with ZooKeeper 3.5. I=E2=80=99m actually surprised that Maven didn=E2= =80=99t pull in ZooKeeper 3.5 anyway.

http://curator.apache.org = - see the note on versions at the bottom


On Jun = 15, 2016, at 12:48 PM, Arnon Moscona <arnon@moscona.com> wrote:

Hi!

I have a problem that I cannot find a= ny answers for. Simply starting a TestingServer no longer works. I created = a simple smoke test to replicate and the problem happens exactly the same i= n my Fedora box as well on my Windows box.

Smoke t= est:

package net.projectmonastery.monastery.zo=
okeeper.data;

import org.apache.curator.test.TestingServer;
import org.junit.Test;

/**
* Created by arnon on 6/15/16.
*/
public class ZookeeperSmokeTest {
@Test
= public void smokeTest() throws Exception {
TestingServer server =3D new
TestingServer(true);=
}
}
Result:=C2=A0

java.lang.IllegalStateExce= ption: Timed out waiting for watch removal
at org.apache.curator.test.TestingZooKeeperMain.= blockUntilStarted(TestingZooKeeperMain.java:153)
at org.apache.curator.test.TestingZooKeeperSer= ver.start(TestingZooKeeperServer.java:159)
at org.apache.curator.test.TestingServer.<init>= ;(TestingServer.java:117)
<= /span>at org.apache.curator.test.TestingServer.<init>(TestingServer.j= ava:100)
at org.apac= he.curator.test.TestingServer.<init>(TestingServer.java:52)
at net.projectmonastery.monas= tery.zookeeper.data.ZookeeperSmokeTest.smokeTest(ZookeeperSmokeTest.java:12= )
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at ...

Dep= endencies:

<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>3.4.8</version>
</dependency>
<dependency>
= <groupId>org.apache.curator</groupId>
= <artifactId>curator-framework</artifactId>
= <version>3.1.0</= version>
</dependenc= y>
<dependency> <groupId>o= rg.apache.curator</groupId> <artifactId>curator-test</artifactId>
=
<version>3.1= .0</version>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-recipes</artifactId>
<version>3.1.0</version>
</dependency>
<dependency>
&= lt;groupId>org.apache.curator</groupId>
&l= t;artifactId>curator-x-discovery</artifactId>
= <version>3.1.0</= version>
</dependenc= y>
=E2=80=A6

Any ideas welcome

--

----
=C2=A0
Arnon Moscona
arnon@moscona.com

In God we trust, all others must bring data
- The elements = of statistical learning
(attributed by many = to W. Edwars Deming, but no data supports it)



--001a1140cd00c2c6f40535553a63--