# Constantly parsing mappings on cluster restart?

**URL:** <https://discuss.elastic.co/t/constantly-parsing-mappings-on-cluster-restart/5860>\
**Category:** Elasticsearch\
**Created:** [November 13, 2011, 5:33pm UTC](https://discuss.elastic.co/t/constantly-parsing-mappings-on-cluster-restart/5860 "2011-11-13T17:33:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matt1/32/2986_2.png) [@Matt1](https://discuss.elastic.co/u/Matt1)\
**Post date:** [November 13, 2011, 5:33pm UTC](https://discuss.elastic.co/t/constantly-parsing-mappings-on-cluster-restart/5860/1 "2011-11-13T17:33:24Z")

</div>

Hey all,

I have a single node cluster with a few hundred indices, with each index  
broken up into a few (between 2-8) types. I attempted a restart of the  
cluster, and now it's pounding on the CPU and not really indexing anything.  
ES is also pouring into the logs messages of the following flavor:

parsed mapping [_default_], and got different sources  
original:  
{"_default_":{"\_source":{"compress":true},"\_size":{"enabled":true,"store":"yes"},"properties":{}}}  
parsed:  
{"_default_":{"\_size":{"enabled":true,"store":"yes"},"\_source":{"compress":true},"properties":{}}}

It should be the same document, except for the order? Is there something I  
did wrong?

Cheers for any help you can provide!  
Matt

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [November 13, 2011, 5:53pm UTC](https://discuss.elastic.co/t/constantly-parsing-mappings-on-cluster-restart/5860/2 "2011-11-13T17:53:42Z")

</div>

Which version are you using?

On Sun, Nov 13, 2011 at 7:33 PM, Matt [matt.chu@gmail.com](mailto:matt.chu@gmail.com) wrote:

> Hey all,
> 
> I have a single node cluster with a few hundred indices, with each index  
> broken up into a few (between 2-8) types. I attempted a restart of the  
> cluster, and now it's pounding on the CPU and not really indexing anything.  
> ES is also pouring into the logs messages of the following flavor:
> 
> parsed mapping [_default_], and got different sources  
> original:
> 
> {"_default_":{"\_source":{"compress":true},"\_size":{"enabled":true,"store":"yes"},"properties":{}}}  
> parsed:
> 
> {"_default_":{"\_size":{"enabled":true,"store":"yes"},"\_source":{"compress":true},"properties":{}}}
> 
> It should be the same document, except for the order? Is there something I  
> did wrong?
> 
> Cheers for any help you can provide!  
> Matt

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [November 13, 2011, 6:28pm UTC](https://discuss.elastic.co/t/constantly-parsing-mappings-on-cluster-restart/5860/3 "2011-11-13T18:28:06Z")

</div>

Found the problem..., opened an issue:  
[Using root object level mapping (\_size, \_source) can cause reparsing of the mapping on startup · Issue #1458 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/1458), will be fixed  
in 0.18 and master.

On Sun, Nov 13, 2011 at 7:53 PM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:

> Which version are you using?
> 
> On Sun, Nov 13, 2011 at 7:33 PM, Matt [matt.chu@gmail.com](mailto:matt.chu@gmail.com) wrote:
> 
> > Hey all,
> > 
> > I have a single node cluster with a few hundred indices, with each index  
> > broken up into a few (between 2-8) types. I attempted a restart of the  
> > cluster, and now it's pounding on the CPU and not really indexing anything.  
> > ES is also pouring into the logs messages of the following flavor:
> > 
> > parsed mapping [_default_], and got different sources  
> > original:
> > 
> > {"_default_":{"\_source":{"compress":true},"\_size":{"enabled":true,"store":"yes"},"properties":{}}}  
> > parsed:
> > 
> > {"_default_":{"\_size":{"enabled":true,"store":"yes"},"\_source":{"compress":true},"properties":{}}}
> > 
> > It should be the same document, except for the order? Is there something  
> > I did wrong?
> > 
> > Cheers for any help you can provide!  
> > Matt

---

<div class="post-metadata">

**Author:** ![Matt1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matt1/32/2986_2.png) [@Matt1](https://discuss.elastic.co/u/Matt1)\
**Post date:** [November 14, 2011, 3:28am UTC](https://discuss.elastic.co/t/constantly-parsing-mappings-on-cluster-restart/5860/4 "2011-11-14T03:28:43Z")

</div>

Awesome, cheers!

---

<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:48am UTC](https://discuss.elastic.co/t/constantly-parsing-mappings-on-cluster-restart/5860/5 "2017-07-06T03:48:50Z")

</div>


