Received cancellation request for Rollup job job getConfig getId state indexer getState – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 6.8-8.9

Briefly, this error occurs when Elasticsearch receives a request to cancel a rollup job that is currently in progress. Rollup jobs are used to summarize and store historical data, which can be a lengthy process. The error indicates that a user or system process has requested to stop this job. To resolve this issue, you can either let the job finish if it’s not critical to stop it immediately, or you can manually stop the job using the appropriate API command. If the error persists, check for any underlying issues that might be causing the cancellation request.

This guide will help you check for common problems that cause the log ” Received cancellation request for Rollup job [” + job.getConfig().getId() + “]; state: [” + indexer.getState() + “] ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin, request.

Log Context

Log “Received cancellation request for Rollup job [” + job.getConfig().getId() + “]; state: [” + indexer.getState() + “]” classname is RollupJobTask.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 Rollup job [" + job.getConfig().getId() + "]; state: [" + indexer.getState() + "]");
        if (indexer.abort()) {
            // there is no background job 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?