You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by Erik Test <er...@gmail.com> on 2010/06/21 22:02:17 UTC

Re: Delivery Status Notification (Failure)

 Ahhh. Sorry I was making a very obvious mistake.

Unfortunately I'm still having problems probably because of another obvious
mistake.

The ZK servers are unable to connect to each other when I try to run
zkServer.sh start on master1 (myid = 1). The connection is being refused by
slave2 (myid = 2). I've tried stopping the server on slave2 and then
starting master1 but this doesn't work. I then tried running slave2 in
standalone mode, change slave2's config to match master1's config and then
tried running master1 but that doesn't work either. The connection is
refused in both cases.

Shouldn't I be able to start the server's I need just from one machine?
Erik



On 21 June 2010 15:15, Luka Stojanovic <lu...@vast.com> wrote:

> Relevant part:
>
>
>  Caused by: java.lang.IllegalArgumentException: /var/zookeeper/myid file
is
>> missing
>>
>
> so every node should have that file, and its content should be id of the
> current node. In your case on machine master1 you should do
>
>  echo 1 > /var/zookeeper/myid
>
> 2 for slave1, etc...
>
> Cheers,
> Luka
>