Details
-
Type:
Bug/Feature
-
Status: New (View workflow)
-
Resolution: Unresolved
-
Affects Version/s: 1.1.9, 1.1.13
-
Fix Version/s: None
-
Labels:None
Description
logstash 1.1.9 + non-embedded elasticsearch 0.20.2
Both running on the same host
Starting up logstash:
java -jar logstash-1.1.9-monolithic.jar agent -f apache-elasticsearch.conf – web --backend 'elasticsearch:///?local'
jar:file:/home/dimitry/projects/monster/logstash/logstash-1.1.9-monolithic.jar!/gems/json-1.7.6-java/lib/json/version.rb:4 warning: already initialized constant VERSION
jar:file:/home/dimitry/projects/monster/logstash/logstash-1.1.9-monolithic.jar!/gems/json-1.7.6-java/lib/json/version.rb:5 warning: already initialized constant VERSION_ARRAY
jar:file:/home/dimitry/projects/monster/logstash/logstash-1.1.9-monolithic.jar!/gems/json-1.7.6-java/lib/json/version.rb:6 warning: already initialized constant VERSION_MAJOR
jar:file:/home/dimitry/projects/monster/logstash/logstash-1.1.9-monolithic.jar!/gems/json-1.7.6-java/lib/json/version.rb:7 warning: already initialized constant VERSION_MINOR
jar:file:/home/dimitry/projects/monster/logstash/logstash-1.1.9-monolithic.jar!/gems/json-1.7.6-java/lib/json/version.rb:8 warning: already initialized constant VERSION_BUILD
jar:file:/home/dimitry/projects/monster/logstash/logstash-1.1.9-monolithic.jar!/gems/json-1.7.6-java/lib/json/common.rb:100 warning: already initialized constant NaN
jar:file:/home/dimitry/projects/monster/logstash/logstash-1.1.9-monolithic.jar!/gems/json-1.7.6-java/lib/json/common.rb:102 warning: already initialized constant Infinity
jar:file:/home/dimitry/projects/monster/logstash/logstash-1.1.9-monolithic.jar!/gems/json-1.7.6-java/lib/json/common.rb:104 warning: already initialized constant MinusInfinity
jar:file:/home/dimitry/projects/monster/logstash/logstash-1.1.9-monolithic.jar!/gems/json-1.7.6-java/lib/json/common.rb:129 warning: already initialized constant UnparserError
parse
logfile
thread
remaining
log4j, [2013-01-17T14:48:15.294] WARN: org.elasticsearch.discovery: [Supercharger] waited for 30s and no initial state was set by the discovery
log4j, [2013-01-17T14:48:32.365] WARN: org.elasticsearch.discovery: [Anne-Marie Cortez] waited for 30s and no initial state was set by the discovery
Problem:
When trying any search in http://localhost:9292/search
There is always an error message:
—
The query '*' resulted the following error:
blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized];[SERVICE_UNAVAILABLE/2/no master];
—
Here is the status of the cluster:
$ curl -XGET 'http://localhost:9200/_cluster/nodes'
{"ok":true,"cluster_name":"monster","nodes":{"d20DS9PKSD2mSVhWlxuVoA":{"name":"Miles Warren","transport_address":"inet[/127.0.0.1:9301]","hostname":"my-pc","version":"0.20.2","attributes":{"client":"true","data":"false"}},"pD9uS40-S7epdIEPLyULOQ":{"name":"monster1","transport_address":"inet[/10.1.4.180:9300]","hostname":"my-pc","version":"0.20.2","http_address":"inet[/10.1.4.180:9200]","attributes":{"master":"true"}}}}