# Failed to put mappings on indices timeouts

**URL:** https://discuss.elastic.co/t/failed-to-put-mappings-on-indices-timeouts/61031
**Category:** Elasticsearch
**Created:** [September 20, 2016, 4:55pm UTC](https://discuss.elastic.co/t/failed-to-put-mappings-on-indices-timeouts/61031 "2016-09-20T16:55:08Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![stlava](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@stlava](https://discuss.elastic.co/u/stlava)
#### Post date: [September 20, 2016, 4:55pm UTC](https://discuss.elastic.co/t/failed-to-put-mappings-on-indices-timeouts/61031/1 "2016-09-20T16:55:08Z")

</div>

Hi I'm seeing a lot of put mapping timeouts on my master server and have a few questions related to this. The exact log line is:

```
Sep 20 16:00:14.533921 ops-flume-es-master-useast1-2-i-ba0a66ac ElasticSearch: [DEBUG][action.admin.indices.mapping.put] [ops-flume-es-master-useast1-2-i-ba0a66ac-flume-elasticsearch-production_vpc-useast1] failed to put mappings on indices [[flume-2016-09-20]], type [log]
Sep 20 16:00:14.534708 ops-flume-es-master-useast1-2-i-ba0a66ac ProcessClusterEventTimeoutException[failed to process cluster event (put-mapping [log]) within 30s]
Sep 20 16:00:14.535102 ops-flume-es-master-useast1-2-i-ba0a66ac at org.elasticsearch.cluster.service.InternalClusterService$2$1.run(InternalClusterService.java:349)
Sep 20 16:00:14.535381 ops-flume-es-master-useast1-2-i-ba0a66ac at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
Sep 20 16:00:14.535752 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
Sep 20 16:00:14.536012 ops-flume-es-master-useast1-2-i-ba0a66ac at java.lang.Thread.run(Thread.java:745)

```

I presume this may be related to pressure. The cluster has 77 indices, 1334 shards, and ~27B docs. We're running ES 2.4.0 and jdk1.8.

A few questions:

- Is the timeout related to the master it self timing out or nodes not responding to the master in time?
- Depending on the above what would help? Adding additional nodes to spread the load or scaling up the master(s)?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 5, 2017, 10:18pm UTC](https://discuss.elastic.co/t/failed-to-put-mappings-on-indices-timeouts/61031/2 "2017-07-05T22:18:44Z")

</div>


