Willdotwhite commented on PR #1672:
URL: https://github.com/apache/solr/pull/1672#issuecomment-1593515362
I've not actually got ZK set up for this example, I thought a less-verbose
output showing that `-upconfig` and `-downconfig` no longer function would be
best; is this ok to validate you're expected behaviour (Windows 10.0.19045
Build 19045)?
upconfig:
```
PS C:\Users\Will\Projects\solr\solr\bin> .\solr.cmd zk upconfig -d . -n test
-z localhost:1234
Error: Could not find or load main class org.apache.solr.cli.SolrCLI
Caused by: java.lang.ClassNotFoundException: org.apache.solr.cli.SolrCLI
---
PS C:\Users\Will\Projects\solr\solr\bin> .\solr.cmd zk -upconfig -d . -n
test -z localhost:1234
ERROR: Invalid command specified for zk sub-command
Usage: solr zk upconfig|downconfig -d <confdir> -n <configName> [-z zkHost]
solr zk cp [-r] <src> <dest> [-z zkHost]
solr zk rm [-r] <path> [-z zkHost]
solr zk mv <src> <dest> [-z zkHost]
solr zk ls [-r] <path> [-z zkHost]
solr zk mkroot <path> [-z zkHost]
Type bin/solr zk -help for full usage help
```
downconfig:
```
PS C:\Users\Will\Projects\solr\solr\bin> .\solr.cmd zk downconfig -d . -n
test -z localhost:1234
Error: Could not find or load main class org.apache.solr.cli.SolrCLI
Caused by: java.lang.ClassNotFoundException: org.apache.solr.cli.SolrCLI
---
PS C:\Users\Will\Projects\solr\solr\bin> .\solr.cmd zk -downconfig -d . -n
test -z localhost:1234
ERROR: Invalid command specified for zk sub-command
Usage: solr zk upconfig|downconfig -d <confdir> -n <configName> [-z zkHost]
solr zk cp [-r] <src> <dest> [-z zkHost]
solr zk rm [-r] <path> [-z zkHost]
solr zk mv <src> <dest> [-z zkHost]
solr zk ls [-r] <path> [-z zkHost]
solr zk mkroot <path> [-z zkHost]
Type bin/solr zk -help for full usage help
```
--
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]