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

Opster Team

August-23, Version: 7.5-7.5

Briefly, this error occurs when Elasticsearch encounters a transform persistent task with incorrect parameters. This could be due to a mismatch in the expected data type, missing required parameters, or invalid parameter values. To resolve this issue, you can: 1) Review the parameters of the task and ensure they match the expected format and data types. 2) Check if any required parameters are missing and add them. 3) Validate the parameter values to ensure they are within the acceptable range or format.

This guide will help you check for common problems that cause the log ” Found 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: plugin, task, persistent.

Log Context

Log “Found transform persistent task [” + id + “] with incorrect params” class name is TransportStartTransformAction.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 TransformTaskParams) {
 return (PersistentTasksCustomMetaData.PersistentTask)pTask;
 }
 throw new ElasticsearchStatusException("Found transform persistent task [" + id + "] with incorrect params";
 RestStatus.INTERNAL_SERVER_ERROR);
 }
 }  private void cancelTransformTask(String taskId; String transformId; 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?