我有点怀疑你在刷屏

RemoteTransportException

Elasticsearch | 作者 luc | 发布于2017年06月03日 | 阅读数:9884

集群状态green
但是集群一直在对shards做relocate,数量 2。
tasks 有阻塞。
索引、聚合正常。

PUT /index/type/1 -d '{"num":"1"}'  就会超时。
[2017-06-03 15:34:57,818][WARN ][rest.suppressed ] path: /test/type/1, params: {pretty=, index=test, id=1, type=type}
RemoteTransportException[[Seen_0601][172.16.0.6:9301][indices:data/write/index]]; nested: RemoteTransportException[[Seen_0601][172.16.0.6:9301][indices:data/write/index[p]]]; nested: ProcessClusterEventTimeoutException[failed to process cluster event (put-mapping [type]) within 30s];
Caused by: RemoteTransportException[[Seen_0601][172.16.0.6:9301][indices:data/write/index[p]]]; nested: ProcessClusterEventTimeoutException[failed to process cluster event (put-mapping [type]) within 30s];
Caused by: ProcessClusterEventTimeoutException[failed to process cluster event (put-mapping [type]) within 30s]
at org.elasticsearch.cluster.service.InternalClusterService$2$1.run(InternalClusterService.java:349)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
 
 
有大神能帮忙解决问题么?
已邀请:

medcl - 今晚打老虎。

赞同来自:

用 Cluster Allocation Explain API 看看为什么一直做reallocate。
https://www.elastic.co/guide/e ... .html

要回复问题请先登录注册