弹性服务器因NoShardAvailableActionException错误而停止

时间:2019-11-19 07:51:35

标签: elasticsearch docker-compose

我正在使用docker-compose进行弹性搜索。每个群集的状态为绿色。但是有时我的服务器停止响应此错误。 {“ type”:“服务器”,“时间戳”:“ 2019-11-18T04:35:16,649Z”,“ level”:“ WARN”,“ component”:“ r.suppressed”,“ cluster.name”: “ docker-cluster”,“ node.name”:“ elasticsearch”,“ message”:“路径:/.kibana/_doc/space%3Adefault,params:{index = .kibana,id = space:default}”,“ cluster.uuid”:“ 0Oew9QxAT_SEpyNsmOSKYA”,“ node.id”:“ BO2WoJTfQOSBfidN2cdNSw”, “ stacktrace”:[“ org.elasticsearch.action.NoShardAvailableActionException:没有可用于[get [.kibana] [_ doc] [space:default]:路由[null]]的碎片”, “在org.elasticsearch.action.support.single.shard.TransportSingleShardAction $ AsyncSingleAction.perform(TransportSingleShardAction.java:224)[elasticsearch-7.4.1.jar:7.4.1]”, “在org.elasticsearch.action.support.single.shard.TransportSingleShardAction $ AsyncSingleAction.onFailure(TransportSingleShardAction.java:210)[elasticsearch-7.4.1.jar:7.4.1]”, “在org.elasticsearch.action.support.single.shard.TransportSingleShardAction $ AsyncSingleAction.access $ 1100(TransportSingleShardAction.java:136)[elasticsearch-7.4.1.jar:7.4.1]”, “在org.elasticsearch.action.support.single.shard.TransportSingleShardAction $ AsyncSingleAction $ 2.handleException(TransportSingleShardAction.java:266)[elasticsearch-7.4.1.jar:7.4.1]”, “在org.elasticsearch.transport.TransportService $ ContextRestoreResponseHandler.handleException(TransportService.java:1120)[elasticsearch-7.4.1.jar:7.4.1]”, “在org.elasticsearch.transport.TransportService $ DirectResponseChannel.processException(TransportService.java:1229)[elasticsearch-7.4.1.jar:7.4.1]”, “在org.elasticsearch.transport.TransportService $ DirectResponseChannel.sendResponse(TransportService.java:1203)[elasticsearch-7.4.1.jar:7.4.1]”, “在org.elasticsearch.transport.TaskTransportChannel.sendResponse(TaskTransportChannel.java:60)[elasticsearch-7.4.1.jar:7.4.1]”, “在org.elasticsearch.action.support.ChannelActionListener.onFailure(ChannelActionListener.java:56)[elasticsearch-7.4.1.jar:7.4.1]”, “在org.elasticsearch.action.ActionRunnable.onFailure(ActionRunnable.java:60)[elasticsearch-7.4.1.jar:7.4.1]”, “在org.elasticsearch.common.util.concurrent.ThreadContext $ ContextPreservingAbstractRunnable.onFailure(ThreadContext.java:758)[elasticsearch-7.4.1.jar:7.4.1]”, “在org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:39)[elasticsearch-7.4.1.jar:7.4.1]”, “在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)[?:?]”, “在java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:628)[?:?]”, “在java.lang.Thread.run(Thread.java:830)[?:?]”, “由以下原因引起:org.elasticsearch.transport.RemoteTransportException:[elasticsearch] [172.18.0.3:9300] [indices:data / read / get [s]]”, “由以下原因引起:org.elasticsearch.index.shard.IllegalIndexShardStateException:仅当分片状态为[POST_RECOVERY,STARTED]之一时才允许CurrentState [RECOVERING]操作”, “在org.elasticsearch.index.shard.IndexShard.readAllowed(IndexShard.java:1713)〜[elasticsearch-7.4.1.jar:7.4.1]”, “在org.elasticsearch.index.shard.IndexShard.get(IndexShard.java:923)〜[elasticsearch-7.4.1.jar:7.4.1]”, “在org.elasticsearch.index.get.ShardGetService.innerGet(ShardGetService.java:169)〜[elasticsearch-7.4.1.jar:7.4.1]”, “在org.elasticsearch.index.get.ShardGetService.get(ShardGetService.java:93)〜[elasticsearch-7.4.1.jar:7.4.1]”, “在org.elasticsearch.index.get.ShardGetService.get(ShardGetService.java:84)〜[elasticsearch-7.4.1.jar:7.4.1]”, “在org.elasticsearch.action.get.TransportGetAction.shardOperation(TransportGetAction.java:106)〜[elasticsearch-7.4.1.jar:7.4.1]”, “在org.elasticsearch.action.get.TransportGetAction.shardOperation(TransportGetAction.java:45)〜[elasticsearch-7.4.1.jar:7.4.1]”, “在org.elasticsearch.action.support.single.shard.TransportSingleShardAction.lambda $ asyncShardOperation $ 0(TransportSingleShardAction.java:110)〜[elasticsearch-7.4.1.jar:7.4.1]”, “在org.elasticsearch.action.ActionRunnable $ 1.doRun(ActionRunnable.java:45)〜[elasticsearch-7.4.1.jar:7.4.1]”, “在org.elasticsearch.common.util.concurrent.ThreadContext $ ContextPreservingAbstractRunnable.doRun(ThreadContext.java:773)〜[elasticsearch-7.4.1.jar:7.4.1]”, “在org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)〜[elasticsearch-7.4.1.jar:7.4.1]”, “ ...还有3个”]}

0 个答案:

没有答案