es创建的索引状态一直是red

前言

这是我在这个网站整理的笔记,有错误的地方请指出,关注我,接下来还会持续更新。

作者:神的孩子都在歌唱

今天使用elasticsearch api创建索引的时候遇到一个奇怪的问题,就是索引能够创建成功,可是状态是red,也就是没法使用,之前创建过得索引就能正常使用,这就很奇怪,然后去查看了es的日志,发现了以下问题

json 复制代码
{"@timestamp":"2024-10-30T07:32:45.931Z", "log.level": "WARN", "message":"high disk watermark [90%] exceeded on [RymlKAp-QjSvsoMoGD3PHQ][98c9c510598f][/usr/share/elasticsearch/data] free: 9.1gb[9.1%], shards will be relocated away from this node; currently relocating away shards totalling [0] bytes; the node is expected to continue to exceed the high disk watermark when these relocations are complete", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"elasticsearch[98c9c510598f][masterService#updateTask][T#1]","log.logger":"org.elasticsearch.cluster.routing.allocation.DiskThresholdMonitor","elasticsearch.cluster.uuid":"95bMrHZbRuyz79UOgQ0P_Q","elasticsearch.node.id":"RymlKAp-QjSvsoMoGD3PHQ","elasticsearch.node.name":"98c9c510598f","elasticsearch.cluster.name":"elasticsearch"}

问题描述是因为我磁盘超过了90%,他不会在进行分片,所以只需要把磁盘减低就可以正常使用了

作者:神的孩子都在歌唱

本人博客:https://blog.csdn.net/weixin_46654114

转载说明:务必注明来源,附带本人博客连接。

相关推荐
仟濹1 小时前
「pandas 与 numpy」数据分析与处理全流程【数据分析全栈攻略:爬虫+处理+可视化+报告】
大数据·python·数据分析·numpy·pandas
琼方1 小时前
“十五五”时期智慧城市赋能全国一体化数据市场建设:战略路径与政策建议[ 注:本建议基于公开政策文件与行业实践研究,数据引用截至2025年6月11日。]
大数据·人工智能·智慧城市
云云3211 小时前
亚矩阵云手机针对AdMob广告平台怎么进行多账号的广告风控
大数据·网络·线性代数·游戏·智能手机·矩阵
Sui_Network2 小时前
WAYE.ai 为Sui 上 AI 的下一个时代赋能
大数据·前端·人工智能·物联网·游戏
BAOYUCompany2 小时前
暴雨亮相2025中关村论坛数字金融与金融安全大会
大数据·人工智能
火龙谷3 小时前
【hadoop】疫情离线分析案例
大数据·hadoop·分布式
大师兄带你刨AI3 小时前
「AI产业」| 《2025中国低空经济商业洞察报告(商业无人机应用篇)》
大数据·人工智能
孚为智能科技4 小时前
集装箱残损识别系统如何检测残损?它的识别率能达到多少?
大数据·图像处理·人工智能·计算机视觉·视觉检测
想躺平的咸鱼干5 小时前
Elasticsearch 的自动补全以及RestAPI的使用
java·后端·elasticsearch·中间件·intellij-idea