Successfully completed and scheduled task in node operation – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 7.2-8.9

Briefly, this error occurs when Elasticsearch has successfully completed a task and scheduled it in the node operation. However, this is not an error message but a status message indicating that a certain task has been completed successfully and another task has been scheduled. If you’re seeing this message frequently and it’s causing concern, you may want to check your task management and scheduling settings. You could also consider adjusting your logging levels if this message is cluttering your logs.

This guide will help you check for common problems that cause the log ” [{}] successfully completed and scheduled task in node operation ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin, task, node.

Log Context

Log “[{}] successfully completed and scheduled task in node operation” classname is TransformPersistentTasksExecutor.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

            .setTransformServices(transformServices);

        final SetOnce stateHolder = new SetOnce();

        ActionListener startTaskListener = ActionListener.wrap(
            response -> logger.info("[{}] successfully completed and scheduled task in node operation"; transformId);
            failure -> {
                auditor.error(
                    transformId;
                    "Failed to start transform. " + "Please stop and attempt to start again. Failure: " + failure.getMessage()
                );

 

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?