Skip to content

Commit

Permalink
Set solr url and zookeeper host explicitly when set auth
Browse files Browse the repository at this point in the history
  • Loading branch information
csandanov committed Feb 26, 2025
1 parent a615db5 commit 43afcdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/init_solr
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if [[ -n "${ZK_HOST}" ]]; then
make create-collection collection="default" host="${host}" num_shards="${#num_shards[@]}" config="_default" \
-f /usr/local/bin/actions.mk
fi
solr zk cp file:/security.json zk:/security.json
solr zk cp file:/security.json zk:/security.json --solr-url "http://${host}:8983" --zk-host "${ZK_HOST}"
if [[ -n "${SOLR_CLOUD_PASSWORD}" ]]; then
sleep 5
make update-password host="${host}" username=solr password=SolrRocks new_password="${SOLR_CLOUD_PASSWORD}" \
Expand Down

0 comments on commit 43afcdb

Please # to comment.