Getting org.elasticsearch.index.engine.EngineClosedException while indexing documets


(AshutoshB) #1

Hi All,

I am using Elastic Search 0.19.1 for our application. I am running 3 nodes with default settings except cluster.name. While indexing some documents I am getting following exception :

[2012-04-19 19:33:06,671][WARN ][index.engine.robin ] [Beckley, Benny] [nextlevel-bdm1][4] failed to flush after setting shard to inactive
org.elasticsearch.index.engine.EngineClosedException: [nextlevel-bdm1][4] CurrentState[CLOSED]
at org.elasticsearch.index.engine.robin.RobinEngine.flush(RobinEngine.java:779)
at org.elasticsearch.index.engine.robin.RobinEngine.updateIndexingBufferSize(RobinEngine.java:218)
at org.elasticsearch.indices.memory.IndexingMemoryController$ShardsIndicesStatusChecker.run(IndexingMemoryController.java:178)
at org.elasticsearch.threadpool.ThreadPool$LoggingRunnable.run(ThreadPool.java:279)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
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:662)

Can anyone suggest me what could be the probable reason for the exception and what are the steps should follow to remove the exception?

Best,
Ashutosh


(system) #2