[
https://issues.apache.org/jira/browse/SOLR-17690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18033485#comment-18033485
]
ASF subversion and git services commented on SOLR-17690:
--------------------------------------------------------
Commit d229ee4f2d1dc46898c48d36eff18e5706cd612a in solr's branch
refs/heads/main from Jan Høydahl
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=d229ee4f2d1 ]
SOLR-17690 Make solr zk tools read ZK_HOST environment (#3240)
> 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
> Reporter: Jan Høydahl
> Assignee: Jan Høydahl
> Priority: Major
> Labels: pull-request-available
> Fix For: 9.10
>
> Time Spent: 5h 20m
> Remaining Estimate: 0h
>
> 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]