janhoy commented on code in PR #5347:
URL: https://github.com/apache/solr/pull/5347#discussion_r4717404941
##########
solr/core/src/java/org/apache/solr/cli/RunExampleTool.java:
##########
@@ -1581,6 +1584,12 @@ Map<String, Object> startSolr(
if (zkHost != null) {
command.add("-z");
command.add(zkHost);
+ } else if (cloudMode) {
+ // this node starts the embedded ZooKeeper, so pass on an explicitly
configured port
+ Integer embeddedZkPort = SolrZkServer.getConfiguredClientPort();
Review Comment:
🤖 Done in 4407361fe94: the examples no longer read or forward the setting;
they own their port layout and keep ZooKeeper at the Solr port + 1000, as
before this PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]