Solr创建collections出现 ERROR: create failed due to: Error loading config name for collection rss

Atlas0.8.4集成Solr5.2.2创建collections出现 ERROR: create failed due to: Error loading config name for collection rss

ERROR: create failed due to: Error loading config name for collection rss

ERROR: create failed due to: Error loading config name for collection xxx

Caused by: org.apache.solr.common.cloud.ZooKeeperException: Could not findconfigName for rss found:null

出现以上错误

先关闭Solr

./solr stop

然后删除ZooKeeper中的znode相关文件

 

 

 

 

使用zkCli.sh进入ZooKeeper的命令模式。

./zkCli.sh -server 10.202.61.89:2181

 

进入命令窗口,执行以下命令

先查看都有哪些文件

ls /

delete /aliases.json

delete /clusterstate.json

deleteall /collections

deleteall /live_nodes

deleteall /overseer

deleteall /overseer_elect

然后启动Solr

./solr start

posted @ 2022-08-03 18:34  介寒食  阅读(104)  评论(0编辑  收藏  举报