[jira] [Commented] (SOLR-16471) Impossible to set bind host for Embedded Zookeeper in Solr9 docker image

2022-10-18 Thread Henrik (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-16471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17620034#comment-17620034
 ] 

Henrik commented on SOLR-16471:
---

Thanks a lot for the tip about using volume bind bounds, that solved this issue 
for us :)

We're using solrcloud and embedded zookeeper for feature tests, and when 
running our applications locally.  Having the embedded zk available makes the 
setup slightly easier.

> Impossible to set bind host for Embedded Zookeeper in Solr9 docker image
> 
>
> Key: SOLR-16471
> URL: https://issues.apache.org/jira/browse/SOLR-16471
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>Reporter: Henrik
>Priority: Major
>
> Solr 9 switched clientPortAddress in solr/server/solr/zoo.cf from 0.0.0.0 to 
> 127.0.0.1. When using the solr9 docker images it is impossible to override 
> this value:
>  * The file is owned by root and cannot be overwritten
>  * The ZOOCFG and ZOOCFGDIR environment variables aren't read by 
> solr/core/src/java/org/apache/solr/cloud/SolrZkServer.java
> The only workaround I have found is to duplicate solr's Dockerfile and build 
> an alternative solr9 docker image.



--
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



[jira] [Commented] (SOLR-16471) Impossible to set bind host for Embedded Zookeeper in Solr9 docker image

2022-10-18 Thread Jira


[ 
https://issues.apache.org/jira/browse/SOLR-16471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17619737#comment-17619737
 ] 

Jan Høydahl commented on SOLR-16471:


Embedded ZK is not for production use, so I don't see the use case. If you want 
to hack a multi-node system with embedded zk, you are on your own, but you have 
at least to ways to do it:

Place your zoo.cfg of choice in $SOLR_HOME (which is typically a volume mount)

or mount just that one config file when starting solr
{code:java}
docker run -v /path/to/my/zzoo.cfg:/opt/solr/server/solr/zoo.cfg
{code}

> Impossible to set bind host for Embedded Zookeeper in Solr9 docker image
> 
>
> Key: SOLR-16471
> URL: https://issues.apache.org/jira/browse/SOLR-16471
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>Reporter: Henrik
>Priority: Major
>
> Solr 9 switched clientPortAddress in solr/server/solr/zoo.cf from 0.0.0.0 to 
> 127.0.0.1. When using the solr9 docker images it is impossible to override 
> this value:
>  * The file is owned by root and cannot be overwritten
>  * The ZOOCFG and ZOOCFGDIR environment variables aren't read by 
> solr/core/src/java/org/apache/solr/cloud/SolrZkServer.java
> The only workaround I have found is to duplicate solr's Dockerfile and build 
> an alternative solr9 docker image.



--
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