error elasticsearch get information "503"

June 29, 2016 1.4k views
Elasticsearch

hello I'm a mistake to make any request in elasticserach , someone knows something about it, not anything ... Meet

curl http://localhost:9200/vacants_production/_search?pretty -d '{"query":{"matchall":{}},"size":1000,"from":0,"fields":[]}'
Elasticsearch::Transport::Transport::Errors::ServiceUnavailable: [503] {"error":"SearchPhaseExecutionException[Failed to execute phase [query
fetch], all shards failed]","status":503}

{
"status" : 200,
"name" : "projetocurriculo",
"clustername" : "elasticsearch",
"version" : {
"number" : "1.7.2",
"build
hash" : "e43676b1385b8125d647f593f7202acbd816e8ec",
"buildtimestamp" : "2015-09-14T09:49:53Z",
"build
snapshot" : false,
"lucene_version" : "4.10.4"
},
"tagline" : "You Know, for Search"
}

{
"clustername" : "elasticsearch",
"status" : "red",
"timed
out" : false,
"numberofnodes" : 1,
"numberofdatanodes" : 0,
"active
primaryshards" : 0,
"active
shards" : 0,
"relocatingshards" : 0,
"initializing
shards" : 0,
"unassignedshards" : 4,
"delayed
unassignedshards" : 0,
"number
ofpendingtasks" : 0,
"numberofinflightfetch" : 0
}

2 Answers

Hi there!

Uncertain if this will assist you in resolving this 503 error within Elastic Search, however: http://stackoverflow.com/questions/18588927/elasticsearch-503-error-when-checking-server-status.

already tried but did not work out, I'm desperate: /

Have another answer? Share your knowledge.