mirror of https://github.com/apache/lucene.git
SOLR-2369: turn off zookeeper log4j mbean registration due to slf4j incompat
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1071831 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2493780acb
commit
742f95598f
|
@ -133,6 +133,11 @@ public class CoreContainer
|
|||
if (zkRun == null && zookeeperHost == null)
|
||||
return; // not in zk mode
|
||||
|
||||
// zookeeper in quorum mode currently causes a failure when trying to
|
||||
// register log4j mbeans. See SOLR-2369
|
||||
// TODO: remove after updating to an slf4j based zookeeper
|
||||
System.setProperty("zookeeper.jmx.log4j.disable", "true");
|
||||
|
||||
zkServer = new SolrZkServer(zkRun, zookeeperHost, solrHome, hostPort);
|
||||
zkServer.parseConfig();
|
||||
zkServer.start();
|
||||
|
|
Loading…
Reference in New Issue