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

Auto resolve zkHost for bin/solr zk for running Solr

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 6.2
    • Fix Version/s: None
    • Component/s: scripts and tools
    • Labels:

      Description

      Spinoff from SOLR-9194:

      We can skip requiring -z for bin/solr zk for a Solr that is already running. We can optionally accept the -p parameter instead, and with that use StatusTool to fetch the cloud/ZooKeeper property from there. It's easier to remember solr port than zk string.

      Example:

      bin/solr start -c -p 9090
      bin/solr zk ls / -p 9090
      

        Attachments

        1. SOLR-9272.patch
          40 kB
          Jan Høydahl
        2. SOLR-9272.patch
          35 kB
          Jan Høydahl
        3. SOLR-9272.patch
          33 kB
          Amrit Sarkar
        4. SOLR-9272.patch
          30 kB
          Amrit Sarkar
        5. SOLR-9272.patch
          27 kB
          Amrit Sarkar
        6. SOLR-9272.patch
          26 kB
          Amrit Sarkar
        7. SOLR-9272.patch
          29 kB
          Amrit Sarkar
        8. SOLR-9272.patch
          26 kB
          Amrit Sarkar
        9. SOLR-9272.patch
          18 kB
          Amrit Sarkar

          Issue Links

            Activity

              People

              • Assignee:
                janhoy Jan Høydahl
                Reporter:
                janhoy Jan Høydahl
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: