ElasticSearch 5.4.1 1我们有一些类似ics_pcs_2017.06.06 2的索引,我们删除了一些旧的索引,使用jave代码:jave
I think the index ics_pcs_2017.06.06 will have 60G+ and 100,000,000 documents in it.3我们创建一个新的logstash来接收旧的日志,我们在ES日志中找到: ES logs info
create index for ics_pcs_2017.06.06( didn't get the detail log)
.....
[o.e.c.m.MetaDataCreateIndexservice] create index cause [auto(bulk api)], templates[icstemplate],shards [6]/[1], mappings [icslog]
.....
[o.e.c.m.MetaDataCreateIndexservice] [ics_pcs_2017.06.06/xtNoHLSOS4GBQo01-Nprg] update_mapping [icslog]
...
[o.e.a.a.1.m.p.TransportPutMappingAction] [ics-master1] failed to put mappings on indices[[[ics_pcs_2017.06.06/xtNoHLSOS4GBQo01-Nprg]]]
org.elasticsearch.cluster.metada.ProcessClusterEventTimeoutException:failed to process cluster event(put-mapping) within 30s
....
-----------
then there is many logs like failed to put mappings on indices[[[ics_pcs_2017.06.06/xtNoHLSOS4GBQo01-Nprg]]]
... failed to put mappings on indices[[[ics_pcs_2017.06.06/xtNoHLSOS4GBQo01-Nprg]]]
...failed to put mappings on indices[[[ics_pcs_2017.06.06/xtNoHLSOS4GBQo01-Nprg]]]
and cause the elasticsearch master down.能帮我解释一下原因吗,非常感谢。
发布于 2017-09-25 18:05:25
当映射到给定文档的字段时出现错误时,就会发生此类错误。就像ES-5.4中的一个实例:-当你试图映射'string‘时会发生这种情况,因为在ES中,'string’被称为'keyword‘。关于这篇文章的更多信息
在您的例子中,服务器首先尝试进行映射,而在尝试的过程中,它也给出了超时消息。
我的建议:修复映射和分析器问题。
https://stackoverflow.com/questions/46389436
复制相似问题