Dynamic Template hung


(hari) #1

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 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/dd3c871a-032c-4294-ae13-200d48e99fbf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(hari) #2

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
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/e4163c31-1f20-40e8-b9b3-911b71d09a9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(David Pilato) #3

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

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr

Le 7 mars 2014 à 15:05:34, Hariharan Vadivelu (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
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/e4163c31-1f20-40e8-b9b3-911b71d09a9e%40googlegroups.com.
For more options, visit 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.
To view this discussion on the web visit 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.


(hari) #4

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]


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
@dadoonet https://twitter.com/dadoonet | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 7 mars 2014 à 15:05:34, Hariharan Vadivelu (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.
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 <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/e4163c31-1f20-40e8-b9b3-911b71d09a9e%40googlegroups.comhttps://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.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/d31e0fb1-469f-41e4-b311-0e25ccbb4315%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #5