请教一个zookeeper连接太频繁会爆错误的问题

请教一个问题,现在的项目需要频繁连接zookpeeper,但是zookeeper连接太频繁会爆一个错误,请大神帮忙看下怎么处理好,2016-10-20 12:25:39 ERROR [org.apache.solr.common.cloud.ZkStateReader]
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /aliases.json
at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1041)
at org.apache.solr.common.cloud.SolrZkClient$3.execute(SolrZkClient.java:195)
at org.apache.solr.common.cloud.SolrZkClient$3.execute(SolrZkClient.java:192)
at org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:66)
at org.apache.solr.common.cloud.SolrZkClient.exists(SolrZkClient.java:192)
at org.apache.solr.common.cloud.ZkStateReader.createClusterStateWatchersAndUpdate(ZkStateReader.java:360)

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐