Jan Høydahl created SOLR-17690:
----------------------------------
Summary: Solr CLI tools like zk cp does not read ZK_HOST
Key: SOLR-17690
URL: https://issues.apache.org/jira/browse/SOLR-17690
Project: Solr
Issue Type: Bug
Components: cli, scripts and tools
Affects Versions: 9.8.0
Reporter: Jan Høydahl
Assignee: Jan Høydahl
As reported in solr operator issue
[https://github.com/apache/solr-operator/issues/762] there is a regression in
solr-operator 0.9 which uses {{solr zk cp}} instead of {{{}zkCli.sh{}}}, so
that when using a combo of operator 0.9 and Solr 9.8.0, the script will fail
due to not picking up {{ZK_HOST}} env.var.
Older solr-operator used {{zkCli.sh}} which read the env.var but had other
issues. Pre 9.8 versions of Solr parsed "solr zk cp" command in bash instead of
Java and thus works.
The solution is to enable CLI tools to get ZK_HOST from environment if
{{--zk-host}} is not passed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]