索引创建超时,出现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$2$1.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文件来启动。

最新更新