# Dynamic Template hung

**URL:** <https://discuss.elastic.co/t/dynamic-template-hung/16215>\
**Category:** Elasticsearch\
**Created:** [March 7, 2014, 1:57am UTC](https://discuss.elastic.co/t/dynamic-template-hung/16215 "2014-03-07T01:57:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hari/32/1582_2.png) [@hari](https://discuss.elastic.co/u/hari)\
**Post date:** [March 7, 2014, 1:57am UTC](https://discuss.elastic.co/t/dynamic-template-hung/16215/1 "2014-03-07T01:57:59Z")

</div>

I'm not sure what is wrong with this dynamic template definition, when I  
try to load data the curl command does not return and no errors in ES log  
as well.

Here is the sample GIST to re-create.

> <https://gist.github.com/hariinfo/9403577>

  
ES Version 1.0.1

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/dd3c871a-032c-4294-ae13-200d48e99fbf%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/dd3c871a-032c-4294-ae13-200d48e99fbf%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![hari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hari/32/1582_2.png) [@hari](https://discuss.elastic.co/u/hari)\
**Post date:** [March 7, 2014, 2:05pm UTC](https://discuss.elastic.co/t/dynamic-template-hung/16215/2 "2014-03-07T14:05:29Z")

</div>

Figured out the issue, the problem with following setting in index mapping  
"index.number\_of\_replicas" : 5  
since I'm testing this on a single node I have to set this to 0.

I had to Enabled tarce to see what was going wrong.

On Thursday, March 6, 2014 7:57:59 PM UTC-6, Hariharan Vadivelu wrote:

> I'm not sure what is wrong with this dynamic template definition, when I  
> try to load data the curl command does not return and no errors in ES log  
> as well.
> 
> Here is the sample GIST to re-create.  
> [ES Dynamic template sample for deep object · GitHub](https://gist.github.com/hariinfo/9403577)  
> ES Version 1.0.1

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/e4163c31-1f20-40e8-b9b3-911b71d09a9e%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e4163c31-1f20-40e8-b9b3-911b71d09a9e%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 7, 2014, 2:26pm UTC](https://discuss.elastic.co/t/dynamic-template-hung/16215/3 "2014-03-07T14:26:03Z")

</div>

FYI replicas=1 works also on a single node cluster.

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 7 mars 2014 à 15:05:34, Hariharan Vadivelu ([hariinfo@gmail.com](mailto:hariinfo@gmail.com)) a écrit:

Figured out the issue, the problem with following setting in index mapping "index.number\_of\_replicas" : 5  
since I'm testing this on a single node I have to set this to 0.

I had to Enabled tarce to see what was going wrong.

On Thursday, March 6, 2014 7:57:59 PM UTC-6, Hariharan Vadivelu wrote:  
I'm not sure what is wrong with this dynamic template definition, when I try to load data the curl command does not return and no errors in ES log as well.

## Here is the sample GIST to re-create. [https://gist.github.com/hariinfo/9403577](https://gist.github.com/hariinfo/9403577) ES Version 1.0.1

You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/e4163c31-1f20-40e8-b9b3-911b71d09a9e%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e4163c31-1f20-40e8-b9b3-911b71d09a9e%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/etPan.5319d6fb.2ae8944a.9291%40MacBook-Air-de-David.local](https://groups.google.com/d/msgid/elasticsearch/etPan.5319d6fb.2ae8944a.9291%40MacBook-Air-de-David.local).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![hari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hari/32/1582_2.png) [@hari](https://discuss.elastic.co/u/hari)\
**Post date:** [March 7, 2014, 4:36pm UTC](https://discuss.elastic.co/t/dynamic-template-hung/16215/4 "2014-03-07T16:36:20Z")

</div>

I ran out of luck once again, this time around I have two templates and  
while loading the same data it fails with this error, looks like I have  
something going on wrong with the way dynamic template is defined.  
org.elasticsearch.index.mapper.MapperParsingException: failed to find type  
parsed [{dynamic\_type}] for [@releaseID]

> <https://gist.github.com/hariinfo/9403577>

ES Version 1.0.1

On Friday, March 7, 2014 8:26:03 AM UTC-6, David Pilato wrote:

> FYI replicas=1 works also on a single node cluster.
> 
> --  
> _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)
> 
> Le 7 mars 2014 à 15:05:34, Hariharan Vadivelu ([hari...@gmail.com](mailto:hari...@gmail.com)\<javascript:\>)  
> a écrit:
> 
> Figured out the issue, the problem with following setting in index  
> mapping "index.number\_of\_replicas" : 5  
> since I'm testing this on a single node I have to set this to 0.
> 
> I had to Enabled tarce to see what was going wrong.
> 
> On Thursday, March 6, 2014 7:57:59 PM UTC-6, Hariharan Vadivelu wrote:
> 
> > I'm not sure what is wrong with this dynamic template definition, when  
> > I try to load data the curl command does not return and no errors in ES log  
> > as well.
> > 
> > Here is the sample GIST to re-create.  
> > [ES Dynamic template sample for deep object · GitHub](https://gist.github.com/hariinfo/9403577)  
> > ES Version 1.0.1
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/e4163c31-1f20-40e8-b9b3-911b71d09a9e%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e4163c31-1f20-40e8-b9b3-911b71d09a9e%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/e4163c31-1f20-40e8-b9b3-911b71d09a9e%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/e4163c31-1f20-40e8-b9b3-911b71d09a9e%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/d31e0fb1-469f-41e4-b311-0e25ccbb4315%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d31e0fb1-469f-41e4-b311-0e25ccbb4315%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 1:44am UTC](https://discuss.elastic.co/t/dynamic-template-hung/16215/5 "2017-07-06T01:44:51Z")

</div>


