[
https://issues.apache.org/jira/browse/SOLR-16124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18151976#comment-18151976
]
Jan Høydahl commented on SOLR-16124:
------------------------------------
SOLR-7596 (PR #5347) makes the embedded ZooKeeper port configurable, and
SOLR-9714 (PR #5346) does the same for the stop port. Once both land, I propose
that the examples own all the ports they use: each node gets its Solr port,
ZooKeeper on Solr port + 10 and the stop port on + 20 (instead of + 1000 and -
1000), all passed explicitly to every node. Before starting anything, the
example checks that every port is free, and only if one is taken asks the user
for another port. That keeps David's point: no extra prompt in the normal case.
It also fixes a gap SOLR-7596 opens: {{\-e secure}} pins node 2 to Solr port +
1000 while node 1 honours an inherited {{SOLR_ZOOKEEPER_EMBEDDED_PORT}}.
> Solr Example should prompt for ZK port
> --------------------------------------
>
> Key: SOLR-16124
> URL: https://issues.apache.org/jira/browse/SOLR-16124
> Project: Solr
> Issue Type: Improvement
> Components: documentation
> Reporter: Mike Drob
> Priority: Major
> Labels: newdev
>
> Running {{bin/solr start -e cloud}} prompts the user for solr ports, but
> auto-picks the ZK port as first solr port + 1000. We should allow the user to
> customize that in case something else is running on that port already.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]