SolrCloud ZooKeeper配置更新 [英] SolrCloud ZooKeeper Configuration updates

查看:105
本文介绍了SolrCloud ZooKeeper配置更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Zoo Keeper中更新SolrCloud的现有配置文件?

How do I update an existing configuration file of SolrCloud in the Zoo Keeper?

我在ZooKeeper 3.3.6中使用Solr4 Beta版本.我已经更新了配置文件,并重新启动了Solr实例,该实例将配置文件上传到ZooKeeper.但是,当我从SolrCloud管理控制台检查配置文件时,看不到更新.我无法理解这是SolrCloud管理控制台是否存在问题,还是无法成功将配置文件上传到ZooKeeper.

I am using Solr4 Beta version with ZooKeeper 3.3.6. I have updated a configuration file, and restarted the Solr Instance which uploads the configuration file to the ZooKeeper. But when I check the configuration file from the SolrCloud Admin console, I don't see the updates. I am not able to understand if this is an issue with SolrCloud admin console or if I am not successful in uploading the config file to ZooKeeper.

熟悉ZooKeeper的人可以告诉我如何更新ZooKeeper中的现有配置文件,以及如何验证ZooKeeper中的更改吗?

Can someone who is familiar with ZooKeeper tell me on how to update an existing configuration file in the ZooKeeper, and how to verify the change in the ZooKeeper?

推荐答案

Solr 4附带了一些有用的脚本

Solr 4 comes with some helpful scripts

cloud-scripts/zkcli.sh -cmd upconfig -zkhost 127.0.0.1:2181 -d solr/your_default_collection_with_the_config/conf/ -n config_name_userd_by_all_collections

之后,您必须重新加载内核.

After that you have to reload cores.

这篇关于SolrCloud ZooKeeper配置更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆