This comes up every so often. Likely we should create a FAQ for this (anyone?)
Take a look at the mailing list archives, here's one
On Mon, Sep 30, 2013 at 2:13 PM, Matthias Ogden
<[EMAIL PROTECTED]> wrote:
> The "myid" file is currently causing me a fair bit of grief because I have
> to manually create the file on each host in my cluster.
> Is there a philosophical reason why it wouldn't be possible to change
> ZooKeeper to support a command-line argument instead of the myid file? Then
> I could provide custom launch args to each instance while leaving the host
> bootstrapping alone.