ProcessClusterEventTimeoutException 索引创建超时
index creation times out with ProcessClusterEventTimeoutException
我突然无法创建索引(既不能显式创建也不能通过将某些内容索引到不存在的索引中)。其他操作都很好(索引、搜索)。我在 security.log
中得到的错误是:
[2015-02-10 15:48:46,303][DEBUG][action.admin.indices.create] [eu4] [yoptest2] failed to create
org.elasticsearch.cluster.metadata.ProcessClusterEventTimeoutException: failed to process cluster event (create-index [yoptest2], cause [auto(index api)]) within 1m
at org.elasticsearch.cluster.service.InternalClusterService.run(InternalClusterService.java:263)
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)
这是一个由三台机器组成的集群(健康绿色),无论我命中哪个节点,我都会得到相同的超时。
可能是什么原因?
我通过重启所有节点解决了这个问题。这不是解决方案,我不知道问题的根本原因,但至少一切正常。
只需停止服务并重新启动服务即可解决。
对于 Windows,您可以从 bin
文件夹中的 运行 elasticsearch.bat
文件开始。
我突然无法创建索引(既不能显式创建也不能通过将某些内容索引到不存在的索引中)。其他操作都很好(索引、搜索)。我在 security.log
中得到的错误是:
[2015-02-10 15:48:46,303][DEBUG][action.admin.indices.create] [eu4] [yoptest2] failed to create
org.elasticsearch.cluster.metadata.ProcessClusterEventTimeoutException: failed to process cluster event (create-index [yoptest2], cause [auto(index api)]) within 1m
at org.elasticsearch.cluster.service.InternalClusterService.run(InternalClusterService.java:263)
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)
这是一个由三台机器组成的集群(健康绿色),无论我命中哪个节点,我都会得到相同的超时。
可能是什么原因?
我通过重启所有节点解决了这个问题。这不是解决方案,我不知道问题的根本原因,但至少一切正常。
只需停止服务并重新启动服务即可解决。
对于 Windows,您可以从 bin
文件夹中的 运行 elasticsearch.bat
文件开始。