Failed to execute phase [query], all shards failed]

Hi team,

I am getting above error.
Oops! SearchPhaseExecutionException[Failed to execute phase [query], all shards failed]

and logs of elasticsearch are

org.elasticsearch.ElasticsearchIllegalStateException: Can't create an index [logstash-2015.06.04], node is closed
at org.elasticsearch.indices.InternalIndicesService.createIndex(InternalIndicesService.java:261)
at org.elasticsearch.indices.cluster.IndicesClusterStateService.applyNewIndices(IndicesClusterStateService.java:303)
at org.elasticsearch.indices.cluster.IndicesClusterStateService.clusterChanged(IndicesClusterStateService.java:175)
at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:425)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:134)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
[2015-06-04 06:30:38,959][WARN ][cluster.action.shard ] [Fantasia] [logstash-2015.06.04][1] sending failed shard for [logstash-2015.06.04][1], node[bfBIsra5QJKYqdLGD5s95g], [P], s[INITIALIZING], indexUUID [O8VtPWsrQb-n0pmV1D47PQ], reason [Failed to start shard, message [IndexShardGatewayRecoveryException[[logstash-2015.06.04][1] failed recovery]; nested: EngineCreationFailureException[[logstash-2015.06.04][1] failed to create engine]; nested: IndexFormatTooNewException[Format version is not supported (resource: MMapIndexInput(path="/var/lib/elasticsearch/elasticsearch/nodes/0/indices/logstash-2015.06.04/1/index/segments.gen")): -3 (needs to be between -2 and -2)]; ]]
[2015-06-04 06:30:38,962][WARN ][cluster.action.shard ] [Fantasia] [logstash-20

IndexFormatTooNewException[Format version is not supported

what es version that was use when the above exception thrown? what es it was used before?

are you using logstash and es together?

elastcisearch 1.4
I am using elasticsearch with td-agent.