HELP ME PLEASE.! ERROR - {"error":"SearchPhaseExecutionException[Failed to execute phase [initial], No indices / shards to search on, requested indices are []]","status":500}


(mummers123) #1

hello; im a new ES; i hava question! please.. help me!

i executed ES server like this;

i Executed the following command to index the data crawled by Nutch in to the ElasticSearch server.

hadoop@ip-172-31-13-16:/$ nutch elasticindex elasticsearch -all

..

14/06/12 05:03:52 INFO elastic.ElasticIndexerJob: Done

..

hadoop@ip-172-31-13-16:/$ elasticsearch -f
[2014-06-12 04:48:08,201][INFO ][node ] [Slab] {0.19.4}[16765]: initializing ...
[2014-06-12 04:48:08,207][INFO ][plugins ] [Slab] loaded [], sites []
[2014-06-12 04:48:12,166][INFO ][node ] [Slab] {0.19.4}[16765]: initialized
[2014-06-12 04:48:12,170][INFO ][node ] [Slab] {0.19.4}[16765]: starting ...
[2014-06-12 04:48:12,387][INFO ][transport ] [Slab] bound_address {inet[/0:0:0:0:0:0:0:0:9301]}, publish_address {inet[/172.31.13.16:9301]}
[2014-06-12 04:48:15,542][INFO ][cluster.service ] [Slab] detected_master [Paralyzer][vEUyNzdEQw6TtC-GKPZ3Rw][inet[/172.31.13.16:9300]], added {[Paralyzer][vEUyNzdEQw6TtC-GKPZ3Rw][inet[/172.31.13.16:9300]],}, reason: zen-disco-receive(from master [[Paralyzer][vEUyNzdEQw6TtC-GKPZ3Rw][inet[/172.31.13.16:9300]]])
[2014-06-12 04:48:15,563][INFO ][discovery ] [Slab] elasticsearch/0xPMpsJmRbeMVXnTscxhKg
[2014-06-12 04:48:15,566][INFO ][http ] [Slab] bound_address {inet[/0:0:0:0:0:0:0:0:9201]}, publish_address {inet[/172.31.13.16:9201]}
[2014-06-12 04:48:15,566][INFO ][node ] [Slab] {0.19.4}[16765]: started

and test it. CURL command;

hadoop@ip-172-31-1-51:/home/ubuntu$ curl master:9200
{
"ok" : true,
"status" : 200,
"name" : "Paralyzer",
"version" : {
"number" : "0.19.4",
"snapshot_build" : false
},
"tagline" : "You Know, for Search"
}

hadoop@ip-172-31-1-51:/home/ubuntu$ curl -XGET 'http://master:9200/_search?q=hadoop'

{"error":"SearchPhaseExecutionException[Failed to execute phase [initial], No indices / shards to search on, requested indices are []]","status":500}

what ERROR is it? plz any help;!


(system) #2