# Reformatting index timeout exception

**URL:** https://discuss.elastic.co/t/reformatting-index-timeout-exception/199051
**Category:** Elasticsearch
**Created:** [September 11, 2019, 9:29am UTC](https://discuss.elastic.co/t/reformatting-index-timeout-exception/199051 "2019-09-11T09:29:01Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![acidserg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/acidserg/32/53929_2.png) [@acidserg](https://discuss.elastic.co/u/acidserg)
#### Post date: [September 11, 2019, 9:29am UTC](https://discuss.elastic.co/t/reformatting-index-timeout-exception/199051/1 "2019-09-11T09:29:01Z")

</div>

Hi all!  
I'm trying to reindex my structure in the next way. I have a lot of indexes like "index1"..."indexN".  
I want to create next structure - I have one index with "indexes" name, and a lot of alias to every document inside it. I'm using reindex query to move from one index to another, but while executing it, I have next exception.

> : org.elasticsearch.client.ResponseException: method [POST], host [hostexample]hostexample], URI [/\_reindex?scroll=5m&requests\_per\_second=-1&timeout=1m], status line [HTTP/1.1 503 Service Unavailable]  
> {"took":33668,"timed\_out":false,"total":963,"updated":955,"created":3,"deleted":0,"batches":1,"version\_conflicts":0,"noops":0,"retries":{"bulk":0,"search":0},"throttled\_millis":0,"requests\_per\_second":-1.0,"throttled\_until\_millis":0,"failures":[{"index":"teams","type":"content","id":"2102173File","cause":{"type":"process\_cluster\_event\_timeout\_exception","reason":"failed to process cluster event (put-mapping) within 30s"},"status":503},{"index":"teams","type":"content","id":"2356555File","cause":{"type":"process\_cluster\_event\_timeout\_exception","reason":"failed to process cluster event (put-mapping) within 30s"},"status":503},{"index":"teams","type":"content","id":"2196227File","cause":{"type":"process\_cluster\_event\_timeout\_exception","reason":"failed to process cluster event (put-mapping) within 30s"},"status":503},{"index":"teams","type":"content","id":"12693953File","cause":{"type":"process\_cluster\_event\_timeout\_exception","reason":"failed to process cluster event (put-mapping) within 30s"},"status":503},{"index":"teams","type":"content","id":"12693893File","cause":{"type":"process\_cluster\_event\_timeout\_exception","reason":"failed to process cluster event (put-mapping) within 30s"},"status":503}]}

---

<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: [October 9, 2019, 9:44am UTC](https://discuss.elastic.co/t/reformatting-index-timeout-exception/199051/2 "2019-10-09T09:44:04Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
