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

查看:28
本文介绍了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 版本.我更新了一个配置文件,并重新启动了将配置文件上传到 ZooKeeper 的 Solr 实例.但是当我从 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天全站免登陆