Exception when creating Index

Hi,

we're using Elasticsearch 1.4.

we have a nightly job running which deletes several indices and creates them again from scratch via Java API. Deletion of indices fails. The log is not very informative (see below). Do you have any advice how to find out the reason for this issue?

Log output:

[2017-03-15 02:40:31,663][DEBUG][action.admin.indices.delete] [Magdalene] [index_avme] failed to delete index
org.elasticsearch.cluster.metadata.ProcessClusterEventTimeoutException: failed to process cluster event (delete-inde
x [index_avme]) within 30s
at org.elasticsearch.cluster.service.InternalClusterService$2$1.run(InternalClusterService.java:263)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
[2017-03-15 02:55:31,464][DEBUG][action.admin.indices.delete] [Magdalene] [index_fr] failed to delete index
org.elasticsearch.cluster.metadata.ProcessClusterEventTimeoutException: failed to process cluster event (delete-inde
x [index_fr]) within 30s
at org.elasticsearch.cluster.service.InternalClusterService$2$1.run(InternalClusterService.java:263)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
[2017-03-15 03:00:30,119][DEBUG][action.admin.indices.delete] [Magdalene] [index_de] failed to delete index
org.elasticsearch.cluster.metadata.ProcessClusterEventTimeoutException: failed to process cluster event (delete-inde
x [index_de]) within 30s
at org.elasticsearch.cluster.service.InternalClusterService$2$1.run(InternalClusterService.java:263)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Regards,

Abid

Hi,

Does your nightly job trace some errors (in responses) when deleting indices ?
Does you client (nightly job) and your cluster use the same Jar version ?

bye
Xavier

Definitely upgrade !

Yes, they use the same jar version (1.4.2).

Our application log shows the following:

org.elasticsearch.cluster.metadata.ProcessClusterEventTimeoutException: failed to process cluster event (
delete-index [index_de]) within 30s
at org.elasticsearch.cluster.service.InternalClusterService$2$1.run(InternalClusterService.java:263)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
... 1 more

Any ideas how to investigate further?

Regards,

Abid

This version is so old. At the very least you should upgrade to 1.7 which is not supported anymore though.

So many things have been fixed between 1.4, 1.7, 2.4 and 5.2!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.