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

Fix bin/solr script calculations - start/stop wait time and RMI_PORT

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.1
    • Fix Version/s: 6.3, 7.0
    • Component/s: scripts and tools
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      The bin/solr script doesn't wait long enough for Solr to stop before it sends the KILL signal to the process. The start could use a longer wait too.

      Also, the RMI_PORT is calculated by simply prefixing the port number with a "1" instead of adding 10000. If the solr port has five digits, then the rmi port will be invalid, because it will be greater than 65535.

        Attachments

        1. SOLR-9371.patch
          4 kB
          Shawn Heisey
        2. SOLR-9371.patch
          4 kB
          Shawn Heisey
        3. SOLR-9371.patch
          4 kB
          Erick Erickson

          Issue Links

            Activity

              People

              • Assignee:
                elyograg Shawn Heisey
                Reporter:
                elyograg Shawn Heisey
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: