当前位置:网站首页>Solrcloud related commands
Solrcloud related commands
2022-07-06 17:29:00 【geekqian】
Reference link : https://blog.csdn.net/qq_37936542/article/details/83113083
Make a note of , Memo
zookeeper Query configuration in
- Get into
zookeeper/bin Catalog , function./zkCli.shConnect to the client .cd /work/install/zookeeper/zookeeper-3.4.6/bin/ && ./zkCli.sh - Use
ls /View all directories under the root directory , Usels /configsView all configuration directories , And so on, you can view the list of all configuration files - Use
get /configs/xxx/data-config.xmlGet the file content and display it on the terminal
Upload the configuration
- Get into
solrThis path under the directory/server/scripts/cloud-scripts/:cd /work/install/solr/solr-7.5.0/server/scripts/cloud-scripts/ - Use the following command to upload
./zkcli.sh -zkhost xx.x.x.17:2181,x.x.x.xx:2181,xx.x.x.23:2181 -cmd upconfig -confdir /work/install/solr/solr-7.5.0/server/solr/configsets/xxx_xxx_configs/conf -confname xxx_xxx_configs
explain :-zkhostThe following oneszookeeperCluster nodes ;-confdirFollowed by the directory where the configuration file is located ;-confnameFollowed by the name of the uploaded directory , The name is in the partition of this file :vim /work/install/solr/solr-data/data/xxx_xxx_collection_shard1_replica_n1/core.properties
amongcollection.configNameNamely .
Unverified commands
Reference link : https://cloud.tencent.com/developer/article/1403896
Modify a configuration file separately :./zkcli.sh -zkhost node96.xdata:2181,node97.xdata:2181,node98.xdata:2181 -cmd putfile /infra-solr/configs/ranger_audits/solr-data-config.xml /usr/lib/ambari-infra-solr/example/example-DIH/solr/solr/conf/solr-data-config.xml
Delete the configuration directory ./zkcli.sh -zkhost node96.xdata:2181,node97.xdata:2181,node98.xdata:2181 -cmd clear /infra-solr/configs/collection1
Delete a single profile ./zkcli.sh -zkhost node96.xdata:2181,node97.xdata:2181,node98.xdata:2181 -cmd delete /infra-solr/configs/ranger_audits/solr-data-config.xml
边栏推荐
- EasyRE WriteUp
- 05 personal R & D products and promotion - data synchronization tool
- Based on infragistics Document. Excel export table class
- 当前系统缺少NTFS格式转换器(convert.exe)
- Total / statistics function of MySQL
- Flink 解析(七):时间窗口
- JVM类加载子系统
- mysql的合计/统计函数
- JVM garbage collection overview
- List集合数据移除(List.subList.clear)
猜你喜欢

Flink 解析(二):反压机制解析

Jetpack compose 1.1 release, based on kotlin's Android UI Toolkit

连接局域网MySql

February database ranking: how long can Oracle remain the first?

TCP's three handshakes and four waves

【逆向初级】独树一帜

PySpark算子处理空间数据全解析(4): 先说说空间运算

数据仓库建模使用的模型以及分层介绍

Coursera cannot play video

C# WinForm中DataGridView单元格显示图片
随机推荐
Set up the flutter environment pit collection
Akamai 反混淆篇
[VNCTF 2022]ezmath wp
[mmdetection] solves the installation problem
虚拟机启动提示Probing EDD (edd=off to disable)错误
Control transfer instruction
Compile homework after class
07 personal R & D products and promotion - human resources information management system
JS garbage collection mechanism and memory leakage
Flink parsing (III): memory management
EasyRE WriteUp
Huawei certified cloud computing hica
Only learning C can live up to expectations top2 P1 variable
PostgreSQL 14.2, 13.6, 12.10, 11.15 and 10.20 releases
[VNCTF 2022]ezmath wp
Flink 解析(一):基础概念解析
JUnit unit test
关于Stream和Map的巧用
JVM运行时数据区之程序计数器
Flink analysis (II): analysis of backpressure mechanism