# Bulk API Indexing failed -- IndexMissingException

**URL:** <https://discuss.elastic.co/t/bulk-api-indexing-failed-indexmissingexception/8776>\
**Category:** Elasticsearch\
**Created:** [August 17, 2012, 9:34pm UTC](https://discuss.elastic.co/t/bulk-api-indexing-failed-indexmissingexception/8776 "2012-08-17T21:34:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sushant\_Shankar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sushant_shankar/32/2652_2.png) [@Sushant\_Shankar](https://discuss.elastic.co/u/Sushant_Shankar)\
**Post date:** [August 17, 2012, 9:34pm UTC](https://discuss.elastic.co/t/bulk-api-indexing-failed-indexmissingexception/8776/1 "2012-08-17T21:34:45Z")

</div>

I am using Elastic Search to index ~600M documents per day containing  
several text fields. I have been trying to optimize the index building  
process and am running into some snags. Using 64 shards for 8 nodes, ES  
indexes ~460M documents in 90 minutes before I get an IndexMissingException  
and lose shards, at which point one of the 8 nodes starts throwing  
IndexMissingException's, causing the Map-Reduce job to throw enough errors  
to stop the index building process.

Setup:

- Dedicated 8 node cluster (each node has 12GB RAM, quad core, 8GB heap  
space for Elastic Search of that)
- ES v0.19.8
- Separate cluster that runs a Map-Reduce job (I use 60 mappers) that  
populate an index through the bulk API (each request contains a maximum of  
10,000 requests)
- Successful full index build (all documents) from running the Map-Reduce  
index building and ES on same nodes.
- ~600M documents (which takes up ~250GB)
- No replicas while indexing (planning to make 1 replica after indexing)

Failure (changed IP address to be localhost):

> <https://gist.github.com/anonymous/3382894>

Any insights or help would be much appreciated!

Thanks!  
Sushant

--

---

<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 6, 2017, 3:15am UTC](https://discuss.elastic.co/t/bulk-api-indexing-failed-indexmissingexception/8776/2 "2017-07-06T03:15:58Z")

</div>


