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

Developer Curb Appeal: one laptop, multiple Solr nodes, consider auto-negotiating Solr and ZooKeeper ports

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.1
    • 4.9, 6.0
    • SolrCloud
    • None

    Description

      A common usage scenario for a developer is to fire up multiple SolrCloud nodes on his/her laptop.

      When doing this, the second instance of Solr has to include the -Djetty.port=1234 parameter.

      Also, I believe since the embedded ZooKeeper's port defaults to SolrPort+1000, you also have to specify the -zkHost parameter, even though you're going to be using localhost.

      If would be nice if Solr noticed that it was already running and would automatically pick a different port, maybe 10 down from the most recently used port.

      It would also convenient if the embedded ZooKeeper could also figure this out, and look for zkmaster on some ports on localhost.

      I realize this is now how things would be deployed in production. This is just to get developers up quickly.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mbennett Mark Bennett
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: