1
ElasticSearch [5.4.1] 1,我們有一些指標像ics_pcs_2017.06.06 2,我們刪除一些舊索引使用java的代碼: getClient.admin 。().indices()prepareDelete(INDEXNAME).execute()actionGet()未能穿上指數映射崩潰elasticsearch [5.4.1]
I think the index ics_pcs_2017.06.06 will have 60G+ and 100,000,000 documents in it.
3,我們做一個新logstash接收舊日誌,而我們在ES日誌中找到: ES日誌信息
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.
會一些幫助和解釋原因,非常感謝。