I've just upgraded to ZooKeeper 3.2.0, testing the fix for ephemeral nodes
disappearing correctly when the client process dies. I'm seeing some
unexpected behavior:
The first time I call zoo_create() to create an ephemeral node, it returns
ZNODEEXISTS, even if the node didn't previously exist. It
wner is zero
> then it's not an ephemeral node for example). You can also take a look
> at the code for cli.c (or the tests) for some examples of how to
> initialize/run a mt/st client process and compare it to your own. Btw,
> we suggest that users use the multi-threaded client w
error near unexpected token `1.10.2'
./configure: line 3880: ` AM_PATH_CPPUNIT(1.10.2)'
--
Leonard Cuff
lc...@valueclick.com
³This email and any files included with it may contain privileged,
proprietary and/or confidential information that is for the sole use of the
intended recipient
be required for just compiling
> but for running make run-check. But that hasn't been fixed yet.
>
> http://issues.apache.org/jira/browse/ZOOKEEPER-316
>
> Thanks
> mahadev
>
>
> On 9/11/09 2:38 PM, "Leonard Cuff" wrote:
>
>>
>> I didn
expire. Can someone tell me what I¹m doing wrong?
TIA,
Leonard
Leonard Cuff
lc...@valueclick.com
³This email and any files included with it may contain privileged,
proprietary and/or confidential information that is for the sole use of the
intended recipient(s). Any disclosure, copying, distribu
atcher to
> wait for a connection, or you could do something simple like:
>
> while(zoo_state(zh_1) != ZOO_CONNECTED_STATE) {
> sleep(1);
> }
> myid = *zoo_client_id(zh_1);
>
> the second part of the problem is related. you need to make sure you are
> connected be
490] -
Unexpected exception
ja
--
Leonard Cuff
lc...@valueclick.com
³This email and any files included with it may contain privileged,
proprietary and/or confidential information that is for the sole use of the
intended recipient(s). Any disclosure, copying, distribution, posting, or
use of
> that doesn't explain the 0 id. i'd like to try an reproduce it. do you
> have an empty data directory with a single file, myid, set to 1?
>
> ben
>
> Leonard Cuff wrote:
>> I¹ve been developing for ZooKeeper for a couple months now, recently running
>> in a
in the configuration file. Am I overlooking
something? Is there a way to have this file appear somewhere else?
TIA,
Leonard
--
Leonard Cuff
lc...@valueclick.com
³This email and any files included with it may contain privileged,
proprietary and/or confidential information that is for the sole
documentation
> for this.
>
> Thanks
> mahadev
>
>
> On 10/16/09 11:04 AM, "Leonard Cuff" wrote:
>
>> I¹ve read through the admin manual at
>> http://hadoop.apache.org/zookeeper/docs/current/zookeeperAdmin.html#sc_loggi
>> ng
>> and I d
Leonard,
> Looks like you are right. bin/zkServer.sh just logs the output to console,
> so you should be able to redirect to any file you want. No?
>
> Anyways this is a bug. Please open a jira for it.
>
> Thanks
> mahadev
>
>
> On 10/16/09 11:27 AM, "Leo
lt
>> to your hand-made files.
>>
>> On Thu, Oct 22, 2009 at 1:04 PM, Mark Vigeant
>> wrote:
>>
>>> The file contains the number 1 and nothing else. My other node has the
>>> number 2 (I only have 2 machines right now, I know it makes more sense to
&
12 matches
Mail list logo