[
https://issues.apache.org/jira/browse/SOLR-17586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jan Høydahl resolved SOLR-17586.
--------------------------------
Resolution: Fixed
> Deprecation of zkcli.sh broke solr operator
> -------------------------------------------
>
> Key: SOLR-17586
> URL: https://issues.apache.org/jira/browse/SOLR-17586
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: scripts and tools
> Affects Versions: 9.7
> Reporter: Jan Høydahl
> Assignee: Jan Høydahl
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 9.8
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> In SOLR-14115 we deprecated zkcli.sh. A deprecation echo was added to the
> script in 9.x and it was removed in 10.0.
> Turns out the deprecation message is always printed (stdout) thus breaking
> scripts that rely on capturing the output from the script when used with
> {{{}-cmd get{}}}.
> This can be fixed by echoing to stderr instead with
> {code:bash}
> >&2 echo "foo"
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]