[ 
https://issues.apache.org/jira/browse/SOLR-9714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15628753#comment-15628753
 ] 

Jan Høydahl commented on SOLR-9714:
-----------------------------------

It looks as if you have a requirement to configure what to use as stop port 
explicitly. 
However that is not a current documented feature of Apache Solr - have you read 
in any documentation that this should work?
Can you please convert this issue into a "New Feature" issue and rewrite the 
Summary and Description fields to reflect your business need?

> can not stop solr with $STOP_PORT
> ---------------------------------
>
>                 Key: SOLR-9714
>                 URL: https://issues.apache.org/jira/browse/SOLR-9714
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrCloud
>    Affects Versions: 5.5.3, 6.2.1
>            Reporter: 胡晓东
>         Attachments: SOLR-9714.patch
>
>
> start:
>        export SOLR_PORT="8983"
>        export STOP_PORT="8984"
>        ... ...
> and use command  '$SOLR_HOME/bin/solr start ' to start solr
> stop:
>       export SOLR_PORT="8983"
>       export STOP_PORT="8984"
>       ... ...
>       use command  '$SOLR_HOME/bin/solr stop'  will throw exception below
>        Sending stop command to Solr running on port 8983 ... waiting 5 
> seconds to allow Jetty process 18791 to stop gracefully.
> + /usr/java/jdk/bin/java -jar /opt/ZDH/parcels/lib/solr/server/start.jar 
> STOP.PORT=7983 STOP.KEY=solrrocks --stop
> java.net.ConnectException: Connection refused
>       at java.net.PlainSocketImpl.socketConnect(Native Method)
>       at 
> java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
>       at 
> java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
>       at 
> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
>       at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
>       at java.net.Socket.connect(Socket.java:579)
>       at java.net.Socket.connect(Socket.java:528)
>       at java.net.Socket.<init>(Socket.java:425)
>       at java.net.Socket.<init>(Socket.java:241)
>       at org.eclipse.jetty.start.Main.stop(Main.java:869)
>       at org.eclipse.jetty.start.Main.stop(Main.java:848)
>       at org.eclipse.jetty.start.Main.doStop(Main.java:839)
>       at org.eclipse.jetty.start.Main.start(Main.java:692)
>       at org.eclipse.jetty.start.Main.main(Main.java:112)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to