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 2019/12/18 18:09:00 UTC

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

Jan Høydahl created SOLR-14114:
----------------------------------

             Summary: 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
      Security Level: Public (Default Security Level. Issues are Public)
          Components: logging
            Reporter: Jan Høydahl


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