当前位置:网站首页>ES日志报错赏析-maximum shards open
ES日志报错赏析-maximum shards open
2022-07-07 12:38:00 【ES小助理】
报错现象
this action would add [1] total shards, but this cluster currently has [29998]/[3000] maximum shay ds open
报错解析
单个节点的索引分片有最大数限制,超出限制后会导致无法新增分片
解决方案
查看当前集群单个节点可容纳的最大分片数
GET _cluster/settings?include_defaults&flat_settings
搜索:cluster.max_shards_per_node
根据集群情况,调整最大分片数大小,注意,这里调整的是单个节点最大分片数,集群的最大总分片数需要用单节点最大分片数*节点数
调整样例:
Kibana方式:
PUT _cluster/settings
{
"transient":{
"cluster.max_shards_per_node":"2000"
}
}
Curl方式:
curl -XPUT -H "Content-Type:application/json" --user user:password -d '{"persistent":{"cluster":{"max_shards_per_node":10000}}}' 'http://ip:port/_cluster/settings'
边栏推荐
- Mrs offline data analysis: process OBS data through Flink job
- Hands on Teaching: XML modeling
- VSCode 配置使用 PyLint 语法检查器
- 3D detection: fast visualization of 3D box and point cloud
- KITTI数据集简介与使用
- Similarities and differences between switches and routers
- Leetcode——344. 反转字符串/541. 反转字符串 II/151. 颠倒字符串中的单词/剑指 Offer 58 - II. 左旋转字符串
- Leetcode——344. Reverse string /541 Invert string ii/151 Reverse the word / Sword finger in the string offer 58 - ii Rotate string left
- Wired network IP address of VMware shared host
- FCOS3D label assignment
猜你喜欢
随机推荐
Wired network IP address of VMware shared host
杭电oj2092 整数解
Regular expression integer positive integer some basic expressions
AutoCAD - how to input angle dimensions and CAD diameter symbols greater than 180 degrees?
FCOS3D label assignment
Use case diagram
【网络安全】sql注入语法汇总
Leetcode——剑指 Offer 05. 替换空格
Source code analysis of ArrayList
课设之百万数据文档存取
Data connection mode in low code platform (Part 2)
请问,在使用flink sql sink数据到kafka的时候出现执行成功,但是kafka里面没有数
【AI实战】应用xgboost.XGBRegressor搭建空气质量预测模型(二)
Internal sort - insert sort
Hangdian oj2092 integer solution
Notes de l'imprimante substance: paramètres pour les affichages Multi - écrans et multi - Résolutions
最长上升子序列模型 AcWing 1012. 友好城市
Excuse me, I have three partitions in Kafka, and the flinksql task has written the join operation. How can I give the join operation alone
Bashrc and profile
IP address home location query