csdn_credit
csdn_credit
采纳率0%
2016-10-26 01:54

请教一个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条回答

相关推荐