Attempt to execute a rollup action without a task – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 7.13-7.17

Briefly, this error occurs when you try to execute a rollup action in Elasticsearch without specifying a task. Rollup is a feature that aggregates data and stores it in a compact format, and it requires a task to perform this operation. To resolve this issue, you can either create a new rollup job with a specified task or ensure that the existing rollup job has a valid task associated with it. Also, check your rollup configuration for any errors or missing parameters.

This guide will help you check for common problems that cause the log ” attempt to execute a rollup action without a task ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: task, plugin.

Log Context

Log “attempt to execute a rollup action without a task” classname is TransportRollupAction.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

        this.metadataCreateIndexService = metadataCreateIndexService;
    }

    @Override
    protected void masterOperation(RollupAction.Request request; ClusterState state; ActionListener listener) {
        logger.warn("attempt to execute a rollup action without a task");
        throw new UnsupportedOperationException("task parameter is required for this operation");
    }

    @Override
    protected void masterOperation(

 

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?