Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GET /pattern-*/_mapping/field/* kills the server #11036

Closed
zde opened this issue May 7, 2015 · 1 comment
Closed

GET /pattern-*/_mapping/field/* kills the server #11036

zde opened this issue May 7, 2015 · 1 comment

Comments

@zde
Copy link

zde commented May 7, 2015

server

"version" : {
"number" : "1.4.4",
"build_hash" : "c88f77ffc81301dfa9dfd81ca2232f09588bd512",
"build_timestamp" : "2015-02-19T13:05:36Z",
"build_snapshot" : false,
"lucene_version" : "4.10.3"
},
#1. put a template with some type=nested properties

$ curl -X PUT localhost:9200/_template/salesorder --data-binary @salesorder.mapping
{"acknowledged":true}
#2. add some documents (1681 documents in 96 salesorder-* indexes)

$ for i in data*; do curl localhost:9200/_bulk --data-binary @$i; done
$ curl 2>/dev/null localhost:9200/_aliases?format=yaml|grep ^salesorder-|wc -l
96
#3. run this request (used by kibana4 metadata discovery)

$ curl 'localhost:9200/salesorder-/_mapping/field/?ignore_unavailable=false&allow_no_indices=false&include_defaults=true'

Server immediately becomes irresponsive, java process rss size hits the roof and after some time this starts showing up in the log:

[2015-05-07 05:06:11,806][DEBUG][action.admin.indices.mapping.get] [Soldier X] failed to execute [org.elasticsearch.action.admin.indices.mapping.get.GetFieldMappingsIndexRequest@3844bde7]
java.lang.OutOfMemoryError: Java heap space

@zde
Copy link
Author

zde commented May 7, 2015

dupe of elastic/kibana#1540

@zde zde closed this as completed May 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant