当前位置:网站首页>Es log error appreciation -limit of total fields
Es log error appreciation -limit of total fields
2022-07-07 13:52:00 【Es assistant】
Error reporting
[o.e.a.a.i.m.p.TransportPutMappingAction] [------nodeid-------] failed to put mappings on indices [[[--------IndexName---------]]], type [doc]
java.lang.IllegalArgumentException: Limit of total fields [1000] in index [--------IndexName---------] has been exceeded
at org.elasticsearch.index.mapper.MapperService.checkTotalFieldsLimit(MapperService.java:656) ~[elasticsearch-6.8.2.jar:6.8.2]
at org.elasticsearch.index.mapper.MapperService.internalMerge(MapperService.java:537) ~[elasticsearch-6.8.2.jar:6.8.2]
at org.elasticsearch.index.mapper.MapperService.internalMerge(MapperService.java:415) ~[elasticsearch-6.8.2.jar:6.8.2]Error reporting analysis
This problem is an error in writing ,ES By default, a single index is restricted 1000 A field , Because too many fields defined in the index will lead to mapping The surge of , Thus causing memory errors and difficult to recover .
This problem is common after log splitting , Automatic update update mapping, Due to abnormal log splitting logic , As a result, many abnormal fields are mistaken for new fields , Cause index maaping The field surge is greater than 1000. Cause update error .
Solution
1- Adjust index setting, Temporarily increase the limit of the number of fields , In the following ways my_index To report an error index name .
PUT my_index/_settings
{
"index.mapping.total_fields.limit": 2000
}
This is set to 2000 Maximum index 2- Check the reasons for the surge in the number of fields on the business side , Reduce the number of single index fields .
边栏推荐
- 2022-7-6 sigurg is used to receive external data. I don't know why it can't be printed out
- Deep understanding of array related problems in C language
- My "troublesome" subordinates after 00: not bad for money, against leaders, and resist overtime
- xshell连接服务器把密钥登陆改为密码登陆
- 2022-7-6 beginner redis (I) download, install and run redis under Linux
- [daily training] 648 Word replacement
- What are the principles for distinguishing the security objectives and implementation methods that cloud computing security expansion requires to focus on?
- Write it down once Net a new energy system thread surge analysis
- 2022-7-6 Leetcode27.移除元素——太久没有做题了,为双指针如此狼狈的一天
- 交付效率提升52倍,运营效率提升10倍,看《金融云原生技术实践案例汇编》(附下载)
猜你喜欢

Talk about pseudo sharing

LIS longest ascending subsequence problem (dynamic programming, greed + dichotomy)

Ways to improve the performance of raspberry pie

Sliding rail stepping motor commissioning (national ocean vehicle competition) (STM32 master control)

Battle Atlas: 12 scenarios detailing the requirements for container safety construction

Distributed transaction solution

MySQL error 28 and solution

Enregistrement de la navigation et de la mise en service du robot ROS intérieur (expérience de sélection du rayon de dilatation)

2022-7-6 Leetcode27.移除元素——太久没有做题了,为双指针如此狼狈的一天

Detr introduction
随机推荐
Ogre introduction
室内ROS机器人导航调试记录(膨胀半径的选取经验)
LeetCode_ Binary search_ Medium_ 153. Find the minimum value in the rotation sort array
What parameters need to be reconfigured to replace the new radar of ROS robot
2022-7-7 Leetcode 844.比较含退格的字符串
1、深拷贝 2、call apply bind 3、for of for in 区别
2022-7-6 beginner redis (I) download, install and run redis under Linux
Evolution of customer service hotline of dewu
MySQL error 28 and solution
Help tenants
干货|总结那些漏洞工具的联动使用
Flask session forged hctf admin
Co create a collaborative ecosystem of software and hardware: the "Joint submission" of graphcore IPU and Baidu PaddlePaddle appeared in mlperf
Did login metamask
LIS longest ascending subsequence problem (dynamic programming, greed + dichotomy)
. Net core about redis pipeline and transactions
Leetcode simple question sharing (20)
Custom thread pool rejection policy
2022-7-7 Leetcode 34.在排序数组中查找元素的第一个和最后一个位置
Deep understanding of array related problems in C language