No index created: IndexCreationException: failed to create index

Logstash: 1.4
Elasticsearch: 1.2

When trying the examples of 'Logstash 10-minute Tutorial
http://www.logstash.net/docs/1.4.1/tutorials/10-minute-walkthrough/' step
3 goes wrong. First, the problem is 'embedded' is not accepted, resulting
in Java-errors. So I changed the output a little bit:
output {
stdout {
codec => rubydebug
}
elasticsearch_http {
host => "localhost"
}
}

But now, the errors and warnings keep flushing over my screen, which can
only be stopped by another shell. What caused the problem, I have no idea.

If I didn't misread, the problem is it failed to create an index.

bin/logstash agent -f hello-search.conf

Using milestone 2 output plugin 'elasticsearch_http'. This plugin should be
stable, but if you see strange behavior, please let us know! For more
information on plugin milestones, see
http://logstash.net/docs/1.4.1/plugin-milestones {:level=>:warn}
testing
{
"message" => "testing",
"@version" => "1",
"@timestamp" => "2014-06-16T11:03:11.013Z",
"type" => "human",
"host" => "localhost.localdomain"
}
Error writing (bulk) to elasticsearch {:response=>#<FTW::Response:0x1427d6e0
@headers=FTW::HTTP::Headers <{"content-type"=>"application/json;
charset=UTF-8", "content-length"=>"213"}>, @body=<FTW::Connection(@4036)
@destinations=["localhost:9200"] @connected=true
@remote_address="127.0.0.1" @secure=false >, @status=500, @reason="",
@logger=#<Cabin::Channel:0x37e7135 @subscriber_lock=#Mutex:0x623a505d,
@data={}, @metrics=#<Cabin::Metrics:0x62723c0c
@channel=#<Cabin::Channel:0x37e7135 ...>, @metrics={},
@metrics_lock=#Mutex:0x39c46a52>, @subscribers={}, @level=:info>,
@version=1.1>,
:response_body=>"{"error":"IndexCreationException[[logstash-2014.06.16]
failed to create index]; nested: NoClassDefFoundError[Could not initialize
class org.elasticsearch.index.codec.postingsformat.PostingFormats];
","status":500}", :request_body=>"", :level=>:error}
Failed to flush outgoing items {:outgoing_count=>1, :exception=>RuntimeError
, :backtrace=>["/opt/logstash/lib/logstash/outputs/elasticsearch_http.rb:240:in
post'", "/opt/logstash/lib/logstash/outputs/elasticsearch_http.rb:213:inflush'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/stud-0.0.17/lib/stud/buffer.rb:219:in
buffer_flush'", "org/jruby/RubyHash.java:1339:ineach'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/stud-0.0.17/lib/stud/buffer.rb:216:in
buffer_flush'", "/opt/logstash/vendor/bundle/jruby/1.9/gems/stud-0.0.17/lib/stud/buffer.rb:159:inbuffer_receive'", "/opt/logstash/lib/logstash/outputs/elasticsearch_http.rb:191:in
receive'", "/opt/logstash/lib/logstash/outputs/base.rb:86:inhandle'", "(eval):21:in
initialize'", "org/jruby/RubyProc.java:271:incall'", "/opt/logstash/lib/logstash/pipeline.rb:266:in
output'", "/opt/logstash/lib/logstash/pipeline.rb:225:inoutputworker'", "/opt/logstash/lib/logstash/pipeline.rb:152:in
`start_outputs'"], :level=>:warn}
... (etcetera)

--
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/21e4eecd-cb31-4683-ad7e-67f6e46b88dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.