curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sznajder ForMailingList <bs4mailingl...@gmail.com>
Subject Re: LeaderSelectorExample
Date Mon, 30 Sep 2013 18:05:42 GMT
 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:
>>>>
>>>>         <dependency>
>>>>             <groupId>log4j</groupId>
>>>>             <artifactId>log4j</artifactId>
>>>>             <version>1.2.16</version>
>>>>         </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
>>>>
>>>>
>>>
>>
>

Mime
View raw message