我們使用的是Solr 4.2.1和ZooKeeper 3.4.5,並且有2個Solr服務器。 Solr正在報告「未找到註冊的領導者」和「警告ZkStateReader ZooKeeper手錶已觸發,但Solr無法與ZK通話」。 ZooKeeper正在報告「跟蹤領導者時的例外情況」。 但是重新啓動後,它會運行一段時間,並再次報告問題。ZooKeeper - SOLR問題
這裏有一些額外的日誌從Solr的:
SEVERE ZkController There was a problem finding the leader in
zk:org.apache.solr.common.SolrException: Could not get leader props
org.apache.solr.common.SolrException: No registered leader was found, collection:www-live slice:shard1
SEVERE: shard update error StdNode: http://10.23.3.47:8983/solr/www-live/:org.apache.solr.client.solrj.SolrServerException: Server refused connection at: http://10.23.3.47:8983/solr/www-live
SEVERE: Recovery failed - trying again... (5) core=www-live
從動物園管理員
2016-01-14 11:25:08,423 [myid:1] - WARN [QuorumPeer[myid=1]/0:0:0:0:0:0:0:0:2181:[email protected]] - Exception when following the leader
java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:375)
at org.apache.jute.BinaryInputArchive.readInt(BinaryInputArchive.java:63)
at org.apache.zookeeper.server.quorum.QuorumPacket.deserialize(QuorumPacket.java:83)
at org.apache.jute.BinaryInputArchive.readRecord(BinaryInputArchive.java:108)
at org.apache.zookeeper.server.quorum.Learner.readPacket(Learner.java:152)
at org.apache.zookeeper.server.quorum.Follower.followLeader(Follower.java:85)
at org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:740)
任何幫助深表感謝。
謝謝。
你有沒有解決這個問題? – JoeG
@JoeG,不,我找不到任何解決方案。但是我已經將solr升級到了5,並且完全停止了這個問題。順便說一句,我有2 solr服務器,仍然有2 HTH。 –