title: IllegalArgumentException: /tmp/zookeeper/myid file is missing
body: <p>I am trying to configure Kafka on multiple instances of EC2 by following <a href="https://gist.github.com/mkanchwala/fbfdd5ef866a58a77f6e" rel="noreferrer">this gist</a> , but I am getting following error:</p>
  
  <p>I am running this command: </p>
  
  <pre><code>$ bin/zookeeper-server-start.sh config/zookeeper.properties &amp;
  </code></pre>
  
  <p><a href="https://gist.github.com/mkanchwala/fbfdd5ef866a58a77f6e" rel="noreferrer">1</a> 13308</p>
  
  <p><strong>Error</strong>: </p>
  
  <pre><code>[2017-03-22 08:21:00,314] ERROR Invalid config, exiting abnormally (org.apache.zookeeper.server.quorum.QuorumPeerMain)
  org.apache.zookeeper.server.quorum.QuorumPeerConfig$ConfigException: Error processing config/zookeeper.properties
      at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:123)
      at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:101)
      at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78)
  Caused by: java.lang.IllegalArgumentException: /tmp/zookeeper/myid file is missing
      at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parseProperties(QuorumPeerConfig.java:350)
      at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:119)
      ... 2 more
  </code></pre>
  
  <p>My <code>zookeeper.conf</code> is as shown below:</p>
  
  <pre><code>dataDir=/tmp/zookeeper
  # the port at which the clients will connect
  #clientPort=2181
  clientPort=2080
  # disable the per-ip limit on the number of connections since this is a non-production config
  maxClientCnxns=0
  
  
  server.1=ec2-&lt;GLOBAL_IP_1&gt;.amazonaws.com:2888:3888
  server.2=ec2-&lt;GLOBAL_IP_2&gt;.amazonaws.com:2888:3888
  #add here more servers if you want
  initLimit=5
  syncLimit=2
  tickTime=2000
  </code></pre>