Doesn't look like it automatically creates it.....
            File myIdFile = new File(dataDir, "myid");
            if (!myIdFile.exists()) {
                throw new IllegalArgumentException(myIdFile.toString()
                        + " file is missing");
            }


On Mon, Jan 5, 2009 at 12:01 AM, Kevin Burton <bur...@spinn3r.com> wrote:

> I'll look at the code tomorrow morning but I definitely needed to create
> the myid file for it to work.... might be a bug with my configuration or the
> code.... I'll check the QuorumPeerConfig code tomorrow......
> Kevin
>
>
> On Sun, Jan 4, 2009 at 11:58 PM, Flavio Junqueira <f...@yahoo-inc.com>wrote:
>
>> Hi Kevin, The admin doesn't need to create "myid". This is created
>> automaticaly after parsing the configuration file (check
>> QuorumPeerConfig.parse(String[]) if you are interested in the internals).
>>
>> -Flavio
>>
>>
>> On Jan 5, 2009, at 1:10 AM, Kevin Burton wrote:
>>
>>  This wasn't clear in the documentation..... but the admin needs to create
>>> the myid file, correct?
>>> Couldn't this happen on init if we use IP addresses and we note that it's
>>> a
>>> new zk server?
>>>
>>> Kevin
>>>
>>> --
>>> Founder/CEO Spinn3r.com
>>> Location: San Francisco, CA
>>> AIM/YIM: sfburtonator
>>> Skype: burtonator
>>> Work: http://spinn3r.com
>>>
>>
>>
>
>
> --
> Founder/CEO Spinn3r.com
> Location: San Francisco, CA
> AIM/YIM: sfburtonator
> Skype: burtonator
> Work: http://spinn3r.com
>



-- 
Founder/CEO Spinn3r.com
Location: San Francisco, CA
AIM/YIM: sfburtonator
Skype: burtonator
Work: http://spinn3r.com

Reply via email to