Failed to execute NodeStatsAction 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 NodeStatsAction for ClusterInfoUpdateJob, which is a task that collects statistics about the nodes in the cluster. This could be due to network issues, insufficient permissions, or a malfunctioning node. To resolve this issue, you can try restarting the malfunctioning node, checking the network connectivity between nodes, or ensuring that the user running Elasticsearch has sufficient permissions to execute this action. Additionally, checking the Elasticsearch logs may provide more detailed information about the cause of the error.

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

Log Context

Log “Failed to execute NodeStatsAction 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 NodeStatsAction for ClusterInfoUpdateJob"; e);
                        }
                    } else {
                        logger.warn("Failed to execute NodeStatsAction for ClusterInfoUpdateJob"; e);
                    }
                    // we empty the usages list; to be safe - we don't know what's going on.
                    leastAvailableSpaceUsages = ImmutableOpenMap.of();
                    mostAvailableSpaceUsages = ImmutableOpenMap.of();
                }

 

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?