解决elasticsearch报错报错“java.lang.IllegalArgumentException: Rejecting mapping update to [这里是索引名称保密] as the final mapping would have more than 1 type: [_doc, log]"” 某日在研究kibana的索引生命周期功能,感觉对于我们现在几千个索引蛮有用途,之前
Rejecting mapping update to [] as the final mapping would have more than 1 type数据update或保存...
结合两个问题现象,这里大致可以断定,是客户mapping中出现了type导致索引数据写不进,出现的错误又持续堆积,把节点的写队列打满,影响了集群整体业务的写入。 代码语言:javascript 代码运行次数:0 运行 AI代码解释 Rejecting mapping update to[cover]asthe final mapping would have more than1type:[*,cover_type 问题...
首先讲个题外话。logstash配置文件hello-world.json上篇也提到过,不过那是7.9.0版本的,注意mapping下面是没有type的,因为默认的type就是_doc: {"index_patterns": ["hello-world-%{+YYYY.MM.dd}"],"order":0,"settings": {"index.refresh_interval":"10s"},"mappings": {"properties": {"createTime": ...
[type]=>illegal_argument_exception[reason]=>Rejecting mapping update to[shiqidu]as the final mapping would havemorethan 1 type:[discussion, article]))[type]=>illegal_argument_exception[reason]=>Rejecting mapping update to[shiqidu]as the final mapping would havemorethan 1 type:[discussion, ...
2020-03-13 10:00:41.076 ERROR 9 --- [Report ES Thread 0] .g.c.c.AbstractElasticsearchReportClient : item: 2634ef87-ec48-4d38-899f-508ba8b69b9c, errorReason: Rejecting mapping update to [journal_test] as the final mapping would have more than 1 type: [default, doc] ...
reason": "Rejecting mapping update to [type] as the final mapping would have more than 1 type: [type, type_new] 解决方案: 方案一:查询逻辑还是按月,待按周迁移完数据后切换到按周查询数据再删除按月索引. 方案二:把索引数据迁移到其它集群,索引和type已经别名都可以重新定义?等数据迁移完成再换成查询...
2020-03-13 10:00:41.076 ERROR 9 --- [Report ES Thread 0] .g.c.c.AbstractElasticsearchReportClient : item: 2634ef87-ec48-4d38-899f-508ba8b69b9c, errorReason: Rejecting mapping update to [journal_test] as the final mapping would have more than 1 type: [default, doc] 意思就是说你...
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Rejecting mapping update to [.kibana] as the final mapping would have more than 1 type: [visualization, doc]"}],"type":"illegal_argument_exception","reason":"Rejecting mapping update to [.kibana] as the final mapp...
3. 4. 5. 如果磁盘够了之后需要手动释放 PUT / twitter / _settings { "index.blocks.read_only_allow_delete":null } 1. 2. 3. 4. 5. 参考https:///guide/en/elasticsearch/reference/current/disk-allocator.html 2、索引不能增加文档 Rejecting mapping update to [website] as the final mapping ...