Found data frame transform persistent task id with incorrect params – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 7.2-7.4

Briefly, this error occurs when Elasticsearch encounters a data frame transform task with incorrect parameters. This could be due to a configuration error or a mismatch between the expected and actual parameters. To resolve this issue, you can try the following: 1) Review the parameters of the data frame transform task and correct any errors. 2) If the task was created with an older version of Elasticsearch, it may be incompatible with the current version. Consider updating the task or reverting to the older version. 3) If the error persists, delete and recreate the task with the correct parameters.

This guide will help you check for common problems that cause the log ” Found data frame transform persistent task [” + id + “] with incorrect params ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: task, persistent, plugin.

Log Context

Log “Found data frame transform persistent task [” + id + “] with incorrect params” class name is TransportStartDataFrameTransformAction.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 assert(existingTask.size() == 1);
 PersistentTasksCustomMetaData.PersistentTask pTask = existingTask.iterator().next();
 if (pTask.getParams() instanceof DataFrameTransform) {
 return (PersistentTasksCustomMetaData.PersistentTask)pTask;
 }
 throw new ElasticsearchStatusException("Found data frame transform persistent task [" + id + "] with incorrect params";
 RestStatus.INTERNAL_SERVER_ERROR);
 }
 }  private void cancelDataFrameTask(String taskId; String dataFrameId; Exception exception; Consumer onFailure) {

 

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?