当前位置:网站首页>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'
边栏推荐
- Similarities and differences between switches and routers
- Leetcode——236. The nearest common ancestor of binary tree
- XML文件的解析操作
- Notes de l'imprimante substance: paramètres pour les affichages Multi - écrans et multi - Résolutions
- 股票开户首选,炒股交易开户佣金最低网上开户安全吗
- Excuse me, as shown in the figure, the python cloud function prompt uses the pymysql module. What's the matter?
- Substance painter notes: settings for multi display and multi-resolution displays
- Search engine interface
- Million data document access of course design
- NDK beginner's study (1)
猜你喜欢
LeetCode 648. 单词替换
OAuth 2.0 + JWT 保护API安全
js 获取当前时间 年月日,uniapp定位 小程序打开地图选择地点
MRS离线数据分析:通过Flink作业处理OBS数据
2022PAGC 金帆奖 | 融云荣膺「年度杰出产品技术服务商」
libSGM的horizontal_path_aggregation程序解读
Codes de non - retour à zéro inversés, codes Manchester et codes Manchester différentiels couramment utilisés pour le codage des signaux numériques
潘多拉 IOT 开发板学习(HAL 库)—— 实验12 RTC实时时钟实验(学习笔记)
Details of redis core data structure & new features of redis 6
【服务器数据恢复】某品牌StorageWorks服务器raid数据恢复案例
随机推荐
When FC connects to the database, do you have to use a custom domain name to access it outside?
請問,在使用flink sql sink數據到kafka的時候出現執行成功,但是kafka裏面沒有數
Bashrc and profile
Navigation — 这么好用的导航框架你确定不来看看?
XML文件的解析操作
UML 状态图
【历史上的今天】7 月 7 日:C# 发布;Chrome OS 问世;《仙剑奇侠传》发行
Substance Painter笔记:多显示器且多分辨率显示器时的设置
ARM Cortex-A9,MCIMX6U7CVM08AD 处理器应用
js 获取当前时间 年月日,uniapp定位 小程序打开地图选择地点
Take you to master the three-tier architecture (recommended Collection)
常用数字信号编码之反向不归零码码、曼彻斯特编码、差分曼彻斯特编码
GVIM [III] [u vimrc configuration]
Vscode configuration uses pylint syntax checker
请问,我kafka 3个分区,flinksql 任务中 写了 join操作,,我怎么单独给join
c#通过frame 和 page 切换页面
CVPR2022 | 医学图像分析中基于频率注入的后门攻击
The longest ascending subsequence model acwing 482 Chorus formation
请问,在使用flink sql sink数据到kafka的时候出现执行成功,但是kafka里面没有数
LeetCode 648. Word replacement