当Solr和Zookeeper重新启动时,会话过期错误

时间:2019-09-23 05:51:32

标签: solr google-cloud-platform apache-zookeeper

我重新启动了运行Solr的Google Cloud实例以增加内存。服务器启动后,我启动了zookeeper和Solr实例。我们有一个3节点集群。我们的主要集合在重新启动的节点上显示Down。 Solr日志中有这样的错误

o.a.s.c.ZkContainer :org.apache.solr.common.SolrException: Error while saving shard term for collection: products
        at org.apache.solr.cloud.ZkShardTerms.saveTerms(ZkShardTerms.java:307)
        at org.apache.solr.cloud.ZkShardTerms.removeTerm(ZkShardTerms.java:182)
        at org.apache.solr.cloud.ZkShardTerms.removeTerm(ZkShardTerms.java:173)
        at org.apache.solr.cloud.ZkCollectionTerms.remove(ZkCollectionTerms.java:52)
        at org.apache.solr.cloud.ZkController.unregister(ZkController.java:1505)
Caused by: org.apache.zookeeper.KeeperException$SessionExpiredException: KeeperErrorCode = Session expired for /collections/products/terms/shard1
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:130)
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
        at org.apache.zookeeper.ZooKeeper.setData(ZooKeeper.java:1330)    

如何解决? CentOS 7.7上的Solr 7.3.0

0 个答案:

没有答案