right at the beginning of
http://hadoop.apache.org/zookeeper/docs/r3.2.1/zookeeperStarted.html it
shows you the minimum standalone configuration.
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
Take all of the server.# lines out, including server.1 (no other change
necessary). For standalone you don't need/want this.
Alternately you could use
org.apache.zookeeper.server.ZooKeeperServerMain
(I don't think you even need to change the config file if you do that).
for example:
java