Hi,

We are indexing documents into elasticsearch from a java application.
We are unable to index all the required docs as indexing fails for some of 
them due to following exception(found from log)

org.elasticsearch.index.engine.CreateFailedEngineException: 
[investigations][0] Create failed for [Event#jEbSeiQASEemf6xTHSaUZw]
        at 
org.elasticsearch.index.engine.internal.InternalEngine.create(InternalEngine.java:397)
        at 
org.elasticsearch.index.shard.service.InternalIndexShard.create(InternalIndexShard.java:382)
        at 
org.elasticsearch.action.bulk.TransportShardBulkAction.shardIndexOperation(TransportShardBulkAction.java:401)
        at 
org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:153)
        at 
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:556)
        at 
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction$1.run(TransportShardReplicationOperationAction.java:426)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.lucene.store.AlreadyClosedException: this IndexWriter 
is closed
        at 
org.apache.lucene.index.IndexWriter.ensureOpen(IndexWriter.java:645)
        at 
org.apache.lucene.index.IndexWriter.ensureOpen(IndexWriter.java:659)
        at 
org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1525)
        at 
org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1199)
        at 
org.elasticsearch.index.engine.internal.InternalEngine.innerCreate(InternalEngine.java:462)
        at 
org.elasticsearch.index.engine.internal.InternalEngine.create(InternalEngine.java:384)

What could be the issue? This happens even if the number of documents being 
indexed is as low as 28 and none of them is too big in size.

Regards,
Preeti

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/3276bee9-d94e-42a5-9df4-6c895f293dc7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to