Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-7099

bin/solr -cloud mode should launch a local ZK in its own process using zkcli's runzk option (instead of embedded in the first Solr process)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            thelabdude Timothy Potter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: