Return-Path: X-Original-To: apmail-curator-user-archive@minotaur.apache.org Delivered-To: apmail-curator-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 4253910DF8 for ; Mon, 30 Sep 2013 18:06:14 +0000 (UTC) Received: (qmail 48794 invoked by uid 500); 30 Sep 2013 18:06:13 -0000 Delivered-To: apmail-curator-user-archive@curator.apache.org Received: (qmail 48718 invoked by uid 500); 30 Sep 2013 18:06:11 -0000 Mailing-List: contact user-help@curator.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@curator.incubator.apache.org Delivered-To: mailing list user@curator.incubator.apache.org Received: (qmail 48215 invoked by uid 99); 30 Sep 2013 18:06:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Sep 2013 18:06:10 +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 bs4mailinglist@gmail.com designates 74.125.83.54 as permitted sender) Received: from [74.125.83.54] (HELO mail-ee0-f54.google.com) (74.125.83.54) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Sep 2013 18:06:03 +0000 Received: by mail-ee0-f54.google.com with SMTP id e53so2853659eek.41 for ; Mon, 30 Sep 2013 11:05:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=C58iZRxEwXSzf27chXyFSzgqp4fHkov1gTkz10tIJIM=; b=E6rIqnIjieROrlJqlEshz/om8nlm2GJvwYQmaqbJwgl6gLIg7X94rCxhAiRT5MpF1I 630ynlp5IlWOFlBKNdIabN9SBvV0iIz6PIZLrIU6RV3l4TbXJBuY8QmQ5xBA2zUvPKsP tq2Av2evpxi0pJjw+o6BNiwRYRwfEpLeK+eI2Z+r4Z9rsePGKpyj8vNJ6xBdwLXBBmKN s+FwP0bb5vRQ/Bf61w0qP3RLCFo+TFIy/KZLz8GugUHd0zmUrJ8XuEeoX9n8MZCdmqG3 Gb8eIOXP4y/7B6bJpJ4J5ZpGuX6EaKizbsmWPY0T84gYsOiZml6+rGcAsc8BTpMyttwS EqRw== MIME-Version: 1.0 X-Received: by 10.14.183.2 with SMTP id p2mr39286543eem.44.1380564342889; Mon, 30 Sep 2013 11:05:42 -0700 (PDT) Received: by 10.14.144.66 with HTTP; Mon, 30 Sep 2013 11:05:42 -0700 (PDT) In-Reply-To: References: <648C2B8E-BC25-4B9B-80E2-04F2D74B7743@jordanzimmerman.com> <707A1A75-6071-4FFB-9F99-1D2CC1584CA4@jordanzimmerman.com> Date: Mon, 30 Sep 2013 21:05:42 +0300 Message-ID: Subject: Re: LeaderSelectorExample From: Sznajder ForMailingList To: "user@curator.incubator.apache.org" Content-Type: multipart/alternative; boundary=047d7b343dc43f890b04e79daf30 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b343dc43f890b04e79daf30 Content-Type: text/plain; charset=ISO-8859-1 Do you use a 'ant' call? On Mon, Sep 30, 2013 at 7:55 PM, Sznajder ForMailingList < bs4mailinglist@gmail.com> wrote: > My apologize but.... > > what command line should I use for this example? And which curator version > do you use? > > Regards > Benjamin > > > On Mon, Sep 30, 2013 at 7:47 PM, Jordan Zimmerman < > jordan@jordanzimmerman.com> wrote: > >> I suggest building with Maven and running from the command line. That >> works for me. >> >> ==================== >> Jordan Zimmerman >> >> On Sep 30, 2013, at 9:38 AM, Sznajder ForMailingList < >> bs4mailinglist@gmail.com> wrote: >> >> sure! >> >> I copied the two classes : >> ExampleClient and LeaderSelectorExample. >> >> I added the different zookeeper and curator, log4j etc... jars to my >> classpath >> And I run it from eclipse on windows. >> >> Benjamin >> >> >> On Mon, Sep 30, 2013 at 7:08 PM, Jordan Zimmerman < >> jordan@jordanzimmerman.com> wrote: >> >>> Tell how you're running it. >>> >>> ==================== >>> Jordan Zimmerman >>> >>> On Sep 30, 2013, at 9:02 AM, Sznajder ForMailingList < >>> bs4mailinglist@gmail.com> wrote: >>> >>> Hi >>> >>> thanks for your answer. >>> >>> However, I added the log4j in the classpath and still do not see any >>> leader election event.... >>> >>> Benjamin >>> >>> >>> On Mon, Sep 30, 2013 at 5:55 PM, Jordan Zimmerman < >>> jordan@jordanzimmerman.com> wrote: >>> >>>> It looks like the examples pom is incomplete. Add this: >>>> >>>> >>>> log4j >>>> log4j >>>> 1.2.16 >>>> >>>> >>>> I've update the code for the next release. >>>> >>>> On Sep 30, 2013, at 7:41 AM, Sznajder ForMailingList < >>>> bs4mailinglist@gmail.com> wrote: >>>> >>>> > Hi >>>> > >>>> > I ran the LeaderSelectorExample class. >>>> > >>>> > However, the main starts the different Examples instances, but, >>>> after, we do not see any printout related to the Leadership .... >>>> > Any event is caught... >>>> > Benjamin >>>> >>>> >>> >> > --047d7b343dc43f890b04e79daf30 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
=A0Do you use a 'ant' call?


On Mon, Sep 30, 2013 at 7:= 55 PM, Sznajder ForMailingList <bs4mailinglist@gmail.com> wrote:
My apologize but....
what command line should I use for this example? And which cura= tor version do you use?

Regards
Benjamin


On Mon, Sep 30, 2013 at 7:47 PM, Jordan Zimmerman <jordan@jordanz= immerman.com> wrote:
I suggest building with Maven and running from the c= ommand line. That works for me.=A0

=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Jordan= Zimmerman

On Sep 30, 2013, at 9:38 AM, Sznajder ForMailingList <= ;bs4mailingli= st@gmail.com> wrote:

sure!

I copied the two classes = :
ExampleClient and LeaderSelectorExample.

I added th= e different zookeeper and curator, log4j etc... jars to my classpath
And I run it from eclipse on windows.

Benjamin


On Mon, Sep 30, 2013 at= 7:08 PM, Jordan Zimmerman <jordan@jordanzimmerman.com> wrote:
Tell how you're r= unning it.=A0

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D
Jordan Zimmerman

On Sep 30, 2013, at 9:02 AM, Sznajder ForMailingList <bs4mailinglist@gm= ail.com> wrote:

Hi

thanks for your answer.
=
However, I added the log4j in the classpath and still do not see = any leader election event....

Benjamin


On Mon, Sep 30, 2013 at 5:55 PM, Jordan = Zimmerman <jordan@jordanzimmerman.com> wrote:
It looks like the examples pom is incomplete. Add this:

=A0 =A0 =A0 =A0 <dependency>
=A0 =A0 =A0 =A0 =A0 =A0 <groupId>log4j</groupId>
=A0 =A0 =A0 =A0 =A0 =A0 <artifactId>log4j</artifactId>
=A0 =A0 =A0 =A0 =A0 =A0 <version>1.2.16</version>
=A0 =A0 =A0 =A0 </dependency>

I've update the code for the next release.

On Sep 30, 2013, at 7:41 AM, Sznajder ForMailingList <bs4mailinglist@gmail.com>= ; wrote:

> Hi
>
> I ran the LeaderSelectorExample class.
>
> However, the main starts the different Examples instances, but, after,= we do not see any printout related to the Leadership ....
> Any event is caught...
> Benjamin





--047d7b343dc43f890b04e79daf30--