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

Auto resolve zkHost for bin/solr zk for running Solr

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 6.2
    • None
    • scripts and tools

    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

              Unassigned Unassigned
              janhoy Jan Høydahl
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: