[
https://issues.apache.org/jira/browse/SOLR-9714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
胡晓东 updated SOLR-9714:
----------------------
Priority: Minor (was: Major)
Description: Our system just has port planning,we have the requirement to
configure what to use as stop port explicitly. but now I can configure the
stop_port on the starting script, but can not use the port on the stopping
script. I think the script has a little problem. (was: 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)
)
Issue Type: New Feature (was: Bug)
> can not stop solr with $STOP_PORT
> ---------------------------------
>
> Key: SOLR-9714
> URL: https://issues.apache.org/jira/browse/SOLR-9714
> Project: Solr
> Issue Type: New Feature
> Security Level: Public(Default Security Level. Issues are Public)
> Components: SolrCloud
> Affects Versions: 5.5.3, 6.2.1
> Reporter: 胡晓东
> Priority: Minor
> Attachments: SOLR-9714.patch
>
>
> Our system just has port planning,we have the requirement to configure what
> to use as stop port explicitly. but now I can configure the stop_port on the
> starting script, but can not use the port on the stopping script. I think the
> script has a little problem.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]