Eric Pugh created SOLR-16956:
--------------------------------

             Summary: bin/solr stop -p doesn't work
                 Key: SOLR-16956
                 URL: https://issues.apache.org/jira/browse/SOLR-16956
             Project: Solr
          Issue Type: Sub-task
          Components: cli
    Affects Versions: main (10.0)
            Reporter: Eric Pugh


Fired up two solrs on port 8983 and 7574, and then went to stop 7574...   
bin/solr stop -p 7574 returns "Found 2 Solr nodes running! Must either specify 
a port using -p or -all to stop all Solr nodes on this host.".

changing the bin/solr script handling of -p to 

SOLR_PORT="$2"
PROVIDED_SOLR_PORT=SOLR_PORT

makes it work.   Need a bats test!





--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to