You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Mingchun Zhao (Jira)" <ji...@apache.org> on 2024/11/09 03:37:00 UTC

[jira] [Created] (SOLR-17551) zk upconfig command broken on Windows

Mingchun Zhao created SOLR-17551:
------------------------------------

             Summary: zk upconfig command broken on Windows
                 Key: SOLR-17551
                 URL: https://issues.apache.org/jira/browse/SOLR-17551
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: SolrCloud
    Affects Versions: 9.7
         Environment: Windows Server 2022, Windows 10
            Reporter: Mingchun Zhao


When running the `solr zk upconfig` command on Windows, the following error occurs.
{code:java}
C:\Program Files\solr-9.7.0\bin>solr zk upconfig -d sitecore_configs -n sitecoreconfigset -z 10.1.0.11:2181,10.1.0.12:2181,10.1.0.13:2181
'ELSE' is not recognized as an internal or external command,
operable program or batch file.
Failed to parse command-line arguments due to: Unrecognized option: --zk-host ZK_HOSTusage: bin/solr upconfig -d <DIR> -n <NAME> [-url <HOST>] [-z <HOST>]List of options:
 -d,--conf-dir <DIR>      Local directory with configs.
 -n,--conf-name <NAME>    Configset name in ZooKeeper.
 -url,--solr-url <HOST>   Base Solr URL, which can be used to determine the zk-host if that's not known; defaults to:
                          http://Solrcloud-test-Solr01:8983.
 -z,--zk-host <HOST>      Zookeeper connection string; unnecessary if ZK_HOST is defined in solr.in.sh; otherwise,
                          defaults to localhost:9983.Please see the Reference Guide for more tools documentation:
https://solr.apache.org/guide/solr/latest/deployment-guide/solr-control-script-reference.html
WARN  - 2024-11-07 11:29:32.428; org.apache.solr.common.cloud.SolrZkClient; Using default ZkCredentialsInjector. ZkCredentialsInjector is not secure, it creates an empty list of credentials which leads to 'OPEN_ACL_UNSAFE' ACLs to Zookeeper nodes
WARN  - 2024-11-07 11:29:33.666; org.apache.solr.common.cloud.SolrZkClient; Using default ZkACLProvider. DefaultZkACLProvider is not secure, it creates 'OPEN_ACL_UNSAFE' ACLs to Zookeeper nodes
Uploading C:\Program Files\solr-9.7.0\server\solr\configsets\sitecore_configs\conf for config sitecoreconfigset to ZooKeeper at 10.1.0.11:2181 {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org