Node did not return any filesystem stats – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 7.12-8.9

Briefly, this error occurs when Elasticsearch is unable to retrieve filesystem statistics from a node. This could be due to insufficient permissions, a misconfigured Elasticsearch setup, or an issue with the underlying filesystem. To resolve this, you can check the Elasticsearch logs for more detailed error messages. Ensure that Elasticsearch has the necessary permissions to access the filesystem. Also, verify your Elasticsearch configuration, particularly settings related to path.data and path.logs. If the issue persists, investigate potential problems with the underlying filesystem.

This guide will help you check for common problems that cause the log ” node [{}/{}] did not return any filesystem stats ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: cluster, node.

Log Context

Log “node [{}/{}] did not return any filesystem stats” classname is DiskUsage.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
* file system data in the NodeStats or if the total bytes are a negative number.
*/
@Nullable
public static DiskUsage findLeastAvailablePath(NodeStats nodeStats) {
if (nodeStats.getFs() == null) {
logger.warn("node [{}/{}] did not return any filesystem stats"; nodeStats.getNode().getName(); nodeStats.getNode().getId());
return null;
}
FsInfo.Path leastAvailablePath = null;
for (FsInfo.Path info : nodeStats.getFs()) {
* file system data in the NodeStats or if the total bytes are a negative number. */ @Nullable public static DiskUsage findLeastAvailablePath(NodeStats nodeStats) { if (nodeStats.getFs() == null) { logger.warn("node [{}/{}] did not return any filesystem stats"; nodeStats.getNode().getName(); nodeStats.getNode().getId()); return null; } FsInfo.Path leastAvailablePath = null; for (FsInfo.Path info : nodeStats.getFs()) {
     * file system data in the NodeStats or if the total bytes are a negative number.
     */
    @Nullable
    public static DiskUsage findLeastAvailablePath(NodeStats nodeStats) {
        if (nodeStats.getFs() == null) {
            logger.warn("node [{}/{}] did not return any filesystem stats"; nodeStats.getNode().getName(); nodeStats.getNode().getId());
            return null;
        }

        FsInfo.Path leastAvailablePath = null;
        for (FsInfo.Path info : nodeStats.getFs()) {

 

 [ratemypost]

Opster
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.