On 5/16/2014 6:43 PM, Steve McKay wrote: > Doing this doesn't avoid the need to configure and administrate ZK. Running a > special snowflake setup to avoid downloading a tar.gz doesn't seem like a > good trade-off to me. > > On May 15, 2014, at 3:27 PM, Upayavira <u...@odoko.co.uk> wrote: > >> Hi, >> >> I need to set up a zookeeper ensemble. I could download Zookeeper and do >> it that way. I already have everything I need to run Zookeeper within a >> Solr install. >> >> Is it possible to run a three node zookeeper ensemble by starting up >> three Solr nodes with Zookeeper enabled? Obviously, I'd only use these >> nodes for their Zookeeper, and keep their indexes empty. >> >> I've made some initial attempts, and whilst it looks like it might be >> possible with -DzkRun and -DzkHost=, I haven't yet succeeded.
Although it would be *possible* to do this, it seems like a huge amount of overhead (jetty and Solr) just to get zookeeper running. If you plan to actually put Solr indexes on that node, overhead would be less of a problem, but there's another reason to have zookeeper in an entirely separate process even if you're sharing hardware: If you're running zookeeper as part of Solr, you can't shut down or restart Solr without affecting the zookeeper ensemble and possibly forcing an election. If zookeeper is a separate process, then restarting Solr cannot cause disruption within the ensemble. Thanks, Shawn