Received cancellation request for data frame transform state – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 7.4-7.4

Briefly, this error occurs when Elasticsearch receives a request to cancel the ongoing data frame transform state. This could be due to a manual cancellation request or an internal issue causing the process to stop. To resolve this, you can try to restart the data frame transform process. If the error persists, check the system logs for any underlying issues that might be causing the cancellation. Also, ensure that your Elasticsearch cluster has sufficient resources to handle the data frame transform operation.

This guide will help you check for common problems that cause the log ” [{}] received cancellation request for data frame transform; state: [{}]. ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: request, plugin.

Log Context

Log “[{}] received cancellation request for data frame transform; state: [{}].” classname is DataFrameTransformTask.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

     * Termination in the task framework is essentially voluntary; as the allocated task can only be
     * shut down from the inside.
     */
    @Override
    public synchronized void onCancelled() {
        logger.info("[{}] received cancellation request for data frame transform; state: [{}].";
            getTransformId();
            taskState.get());
        if (getIndexer() != null && getIndexer().abort()) {
            // there is no background transform running; we can shutdown safely
            shutdown();

 

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?