Hello, I'm building a Solr Cloud (version 4.1.0) with 2 shards and a Zookeeper (the Zookeeer is on different machine, version 3.4.5). I've tried to start with a 1.7MB synonyms.txt, but got a "ConnectionLossException": Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /configs/solr1/synonyms.txt at org.apache.zookeeper.KeeperException.create(KeeperException.java:99) at org.apache.zookeeper.KeeperException.create(KeeperException.java:51) at org.apache.zookeeper.ZooKeeper.setData(ZooKeeper.java:1266) at org.apache.solr.common.cloud.SolrZkClient$8.execute(SolrZkClient.java:270) at org.apache.solr.common.cloud.SolrZkClient$8.execute(SolrZkClient.java:267) at org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:65) at org.apache.solr.common.cloud.SolrZkClient.setData(SolrZkClient.java:267) at org.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:436) at org.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:315) at org.apache.solr.cloud.ZkController.uploadToZK(ZkController.java:1135) at org.apache.solr.cloud.ZkController.uploadConfigDir(ZkController.java:955) at org.apache.solr.core.CoreContainer.initZooKeeper(CoreContainer.java:285) ... 43 more
I did some researches on internet and found out that because Zookeeper znode size limit is 1MB. I tried to increase the system property "jute.maxbuffer" but it won't work. Does anyone have experience of dealing with it? Thanks, Son