Failed to execute IndicesStatsAction for ClusterInfoUpdateJob – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 6.8-7.11

Briefly, this error occurs when Elasticsearch is unable to execute the IndicesStatsAction, which is a part of the ClusterInfoUpdateJob. This could be due to a variety of reasons such as insufficient permissions, network issues, or a problem with the cluster state. To resolve this issue, you can try the following: 1) Check and adjust the user permissions if necessary, 2) Verify the network connectivity between the nodes, 3) Check the health of the cluster and fix any identified issues, and 4) Restart the Elasticsearch service if none of the above solutions work.

This guide will help you check for common problems that cause the log ” Failed to execute IndicesStatsAction for ClusterInfoUpdateJob ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: cluster, indices.

Log Context

Log “Failed to execute IndicesStatsAction for ClusterInfoUpdateJob” classname is InternalClusterInfoService.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

                    if (e instanceof ClusterBlockException) {
                        if (logger.isTraceEnabled()) {
                            logger.trace("Failed to execute IndicesStatsAction for ClusterInfoUpdateJob"; e);
                        }
                    } else {
                        logger.warn("Failed to execute IndicesStatsAction for ClusterInfoUpdateJob"; e);
                    }
                    // we empty the usages list; to be safe - we don't know what's going on.
                    indicesStatsSummary = IndicesStatsSummary.EMPTY;
                }
            }

 

How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?