You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Jan Høydahl (Jira)" <ji...@apache.org> on 2020/02/21 08:47:00 UTC

[jira] [Commented] (SOLR-14114) Add WARN to Solr log that embedded ZK is not supported in production

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

Jan Høydahl commented on SOLR-14114:
------------------------------------

PR available. I chose this wording:
{quote}Embedded Zookeeper is not recommended in production environments. See Reference Guide for details.
{quote}
Will commit for 8.5 shortly

> Add WARN to Solr log that embedded ZK is not supported in production
> --------------------------------------------------------------------
>
>                 Key: SOLR-14114
>                 URL: https://issues.apache.org/jira/browse/SOLR-14114
>             Project: Solr
>          Issue Type: Improvement
>          Components: logging
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When Solr starts with embedded {{-DzkRun}} zookeeper, we currently log these lines:
> {noformat}
> 2019-12-18 16:38:00.171 INFO  (main) [   ] o.a.s.c.SolrZkServerProps Reading configuration from: /var/solr/data/zoo.cfg
> 2019-12-18 16:38:00.173 INFO  (main) [   ] o.a.s.c.SolrZkServer STARTING EMBEDDED STANDALONE ZOOKEEPER SERVER at port 9983
> 2019-12-18 16:38:00.673 INFO  (main) [   ] o.a.s.c.ZkContainer Zookeeper client=localhost:9983 {noformat}
> In addition we should log a WARN line about not using it in production
> {noformat}
> WARN (main) [ ] o.a.s.c.SolrZkServer Embedded Zookeeper is not supported in production environments{noformat}
> This is already stated on the "[Taking Solr to production|https://lucene.apache.org/solr/guide/8_3/taking-solr-to-production.html#going-to-production-with-solrcloud]" RefGuide page. We should also add a more prominent WARNING box to RefGuide about the same.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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