[ https://issues.apache.org/jira/browse/SOLR-17690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Høydahl updated SOLR-17690: ------------------------------- Fix Version/s: 9.8.1 > 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 > Priority: Major > Fix For: 9.8.1 > > > 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: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org