Some datafeeds failed being upgraded – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 8-8.9

Briefly, this error occurs when Elasticsearch attempts to upgrade datafeeds (used for machine learning jobs) to a newer version, but encounters issues. This could be due to inconsistencies in the datafeed configurations or insufficient permissions. To resolve this, you can try re-running the upgrade process after ensuring that all datafeed configurations are correct and consistent. Also, check that the user running the upgrade has sufficient permissions. If the problem persists, consider deleting and recreating the datafeeds, but ensure you have a backup of your data before doing so.

This guide will help you check for common problems that cause the log ” some datafeeds failed being upgraded. ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin.

Log Context

Log “some datafeeds failed being upgraded.” class name is DatafeedConfigAutoUpdater.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 () -> format("%s datafeeds are finished being updated"; updates.stream().map(DatafeedUpdate::getId).collect(toList()))
 );
 return;
 }  ElasticsearchException exception = new ElasticsearchException("some datafeeds failed being upgraded.");
 failures.forEach(exception::addSuppressed);
 throw exception;
 }
}

 

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?