You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to run Solr 9.7.0 via the SolrContainer integration with solr.withZookeeper(true). However this failed to start, showing only the usage output:
Starting with -DzkRun --host localhost instead of -DzkRun -h localhost works great, so I thought of setting solr.setCommand("-DzkRun", "--host", "localhost"); to overwrite the args defined here, however this doesn't seem to work.
Would be great if Solr 9.7.0 could be used with embedded Zookeeper within testcontainers 🙂
Relevant log output
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Module
Solr
Testcontainers version
1.20.4
Using the latest Testcontainers version?
Yes
Host OS
Linux
Host Arch
x86
Docker version
What happened?
I tried to run Solr 9.7.0 via the
SolrContainer
integration withsolr.withZookeeper(true)
. However this failed to start, showing only the usage output:Turns out that Solr changed the format of start parameters to the commonly used
--
: https://issues.apache.org/jira/browse/SOLR-16824Starting with
-DzkRun --host localhost
instead of-DzkRun -h localhost
works great, so I thought of settingsolr.setCommand("-DzkRun", "--host", "localhost");
to overwrite the args defined here, however this doesn't seem to work.Would be great if Solr 9.7.0 could be used with embedded Zookeeper within testcontainers 🙂
Relevant log output
Additional Information
No response
The text was updated successfully, but these errors were encountered: