Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
None
-
None
-
None
Description
Embedded ZK is great for unit testing and quick examples, but as soon as someone wants to restart their cluster, embedded mode causes a lot of issues, esp. if you restart the node that embeds ZK. Of course we don't want users to have to install ZooKeeper just to get started with Solr either.
Thankfully, ZkCLI already includes a way to launch ZooKeeper in its own process but still within the Solr directory structure. We can hide the details and complexity of working with ZK in the bin/solr script. The solution to this should still make it very clear that this is for getting started / examples and not to be used in production.