首页 > 其他分享 >Validation Failed: 1: this action would add [2] shards, but this cluster currently has [999]/[1000]

Validation Failed: 1: this action would add [2] shards, but this cluster currently has [999]/[1000]

时间:2024-09-25 15:21:59浏览次数:3  
标签:elk would currently 999 shards cluster 分片 1000

在最近部署的一个项目中,是使用elk来记录应用系统日志的,突然发现,近几天的日志在kibana上面没有显示。于是去排查elk的日志,发现logstash中有这样一条警告信息

"Validation Failed: 1: this
action would add [2] shards, but this cluster currently has [999]/[1000]
maximum normal shards open;"

这句话的意思是,当前操作(可能是创建一个新的索引或向现有索引添加数据)将会增加2个分片,但Elasticsearch集群已经打开了999个分片,并且配置的最大正常分片数量为1000。因此,这个操作会因为超出最大分片限制而被拒绝

解决:

[root@localhost log]# curl -XPUT -u '用户名:密码' -H "Content-Type:application/json" -d '{"persistent":{"cluster":{"max_shards_per_node":10000}}}' 'http://ES的Ip地址:9200/_cluster/settings'
{"acknowledged":true,"persistent":{"cluster":{"max_shards_per_node":"10000"}},"transient":{}}[root@localhost log]# 

增加分片限制

标签:elk,would,currently,999,shards,cluster,分片,1000
From: https://blog.csdn.net/Libigtong/article/details/142524117

相关文章

  • 日新月异 PyTorch - pytorch 基础: K-means 聚类算法(sklearn.cluster 的 KMeans 实现,
    源码https://github.com/webabcd/PytorchDemo作者webabcd日新月异PyTorch-pytorch基础:K-means聚类算法(sklearn.cluster的KMeans实现,对一个包含10个特征的数据做分类)示例如下:basic\demo07.py'''K-means聚类算法(sklearn.cluster的KMeans实现,对一个包含1......
  • git error: Your local changes to the following files would be overwritten by mer
    3ad1444d^..73e10933为远程分支新提交,ac-dev分支落后远程分支4bd1444d^..83e10922个提交。现对ac-dev分支进行了修改,打算将ac-dev分支同步到4bd1444d最新提交,并保留ac-dev分支落后时的修改;ac-dev落后修改后没有提交或将其隐藏,直接cherry-pick遇到以下错误。gitcherry-p......
  • 科研绘图系列:R语言树结构聚类热图(cluster heatmap)
    文章目录介绍加载R包导入数据数据预处理画图修改图形导出数据系统信息介绍热图结合树结构展示聚类结果通常用于展示数据集中的模式和关系,这种图形被称为聚类热图或层次聚类热图。在这种图中,热图部分显示了数据矩阵的颜色编码值,而树结构(通常称为树状图......
  • GBase 8a MPP Cluster 数据库产品的巡检
    GBase8aMPPCluster产品的巡检一般包含以下几个方面工作:1、检查数据库的接入情况2、检查数据库状态3、检查Core文件或dump文件4、检查系统情况(1)查看数据库连接巡检的第一步就是要验证数据库是否可访问。数据库可访问代表数据库客户端和服务端的网络端口和服务正常。......
  • You may need an appropriate loader to handle this file type, currently no loa
        经过提示分析这段代码使用了es6语法,一些低版本node环境不能解析。需要配置一个loader来处理 this.hitDetectionEnabled_=options.hitDetectionEnabled??true; 如果使用vue.config.jswebpack配置如下configureWebpack:{module:{rules:[{......
  • Mysql Non cluster combined fields select where order by field different time co
    usemydb;droptableifexistst1;createtablet1(idintauto_incrementprimarykey,firstnamevarchar(100)notnulldefault'',lastnamevarchar(100)notnulldefault'',indexfn_ln_index(firstname,lastname)); FLUSHBINARYLO......
  • 【开源dcluster】一站式数据服务分析平台IDEA本地开发指南
    源码Gitee地址:https://gitee.com/zhenglv123456/dcluster在线文档:http://47.121.127.33:8090/在线体验:http://36.155.14.171:12345/dolphinscheduler/ui/login账号密码:test/test123  源码启动1.前端启动 进入dolphinscheduler-ui目录,执行以下命令 npmins......
  • 【开源dcluster】Seatunnel数据同步之MySQL同步到doris
    源码Gitee地址:https://gitee.com/zhenglv123456/dcluster在线文档:https://47.121.127.33:8090/在线体验:http://36.155.14.171:12345/dolphinscheduler/ui/login账号密码:test/test123 创建同步任务操作步骤:1.点击创建任务 2.配置同步脚本 3.设置同步时间......
  • Headless Service和ClusterIP区别
    在Kubernetes中,Service是用于暴露Pod的一种抽象。两种常见的Service类型是HeadlessService和ClusterIP。它们之间有一些关键区别:1.ClusterIP定义:ClusterIP是Kubernetes中的默认Service类型,它为Service分配一个虚拟IP(VIP),并将流量路由到后端Pod。访问方式:......
  • 每天认识几个maven依赖(acegisecurity+activation+activecluster+activeIO)
    四、acegisecurity1、是什么?acegisecurity是早期版本的SpringSecurity框架的名称。SpringSecurity是一个功能强大的认证和授权框架,用于保护Java应用程序的安全性。acegisecurity这个名称来源于它的前身项目AcegiSecurity。2、有什么用?认证:验证用户的身份,确保......