Requested feature states featuresNotOnThisNode are present in – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 7.12-7.13

Briefly, this error occurs when Elasticsearch tries to access certain features that are not available on the current node. This could be due to a version mismatch or a configuration issue. To resolve this, you can upgrade the node to a version that supports the required features. Alternatively, you can reconfigure your Elasticsearch cluster to ensure that all nodes have the necessary features. Lastly, you can also redirect the request to a node that supports the required features.

This guide will help you check for common problems that cause the log ” requested feature states ” + featuresNotOnThisNode + ” are present in ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: node.

Log Context

Log “requested feature states ” + featuresNotOnThisNode + ” are present in ” class name is RestoreService.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 final List featuresNotOnThisNode = featureStatesToRestore.keySet().stream()
 .filter(featureName -> systemIndices.getFeatures().containsKey(featureName) == false)
 .collect(Collectors.toList());
 if (featuresNotOnThisNode.isEmpty() == false) {
 throw new SnapshotRestoreException(snapshot; "requested feature states " + featuresNotOnThisNode + " are present in " +
 "snapshot but those features are not installed on the current master node");
 }
 return featureStatesToRestore;
 }

 

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?