[
https://issues.apache.org/jira/browse/SOLR-9272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17876677#comment-17876677
]
Eric Pugh commented on SOLR-9272:
---------------------------------
[~janhoy] and others who have worked on this... I think this is done...
Though not in the way that was originally proposed.
These three options all work the same to list out the root files!
➜ dev git:(main) bin/solr zk ls /
Neither --zk-host or --solr-url parameters provided so assuming solr url is
[http://localhost:8983.]
➜ dev git:(main) bin/solr zk ls --solr-url http://localhost:8983 /
➜ dev git:(main) bin/solr zk ls -z localhost:9983 /
> Auto resolve zkHost for bin/solr zk for running Solr
> ----------------------------------------------------
>
> Key: SOLR-9272
> URL: https://issues.apache.org/jira/browse/SOLR-9272
> Project: Solr
> Issue Type: Improvement
> Components: scripts and tools
> Affects Versions: 6.2
> Reporter: Jan Høydahl
> Priority: Major
> Labels: newdev
> Attachments: SOLR-9272.patch, SOLR-9272.patch, SOLR-9272.patch,
> SOLR-9272.patch, SOLR-9272.patch, SOLR-9272.patch, SOLR-9272.patch,
> SOLR-9272.patch, SOLR-9272.patch
>
>
> Spinoff from SOLR-9194:
> We can skip requiring {{-z}} for {{bin/solr zk}} for a Solr that is already
> running. We can optionally accept the {{-p}} parameter instead, and with that
> use StatusTool to fetch the {{cloud/ZooKeeper}} property from there. It's
> easier to remember solr port than zk string.
> Example:
> {noformat}
> bin/solr start -c -p 9090
> bin/solr zk ls / -p 9090
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]