Failed to remove datafeed persistent task – will not auto close job getJobId – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 6.8-8.9

Briefly, this error occurs when Elasticsearch fails to remove a datafeed persistent task, which in turn prevents the automatic closing of a job. This could be due to issues like insufficient permissions, network problems, or a bug in the system. To resolve this, you can try manually closing the job, checking and adjusting user permissions, or restarting the Elasticsearch cluster. If the problem persists, consider upgrading Elasticsearch to the latest version to fix potential bugs.

This guide will help you check for common problems that cause the log ” Failed to remove datafeed persistent task – will not auto close job [” + getJobId() + “] ” 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 “Failed to remove datafeed persistent task – will not auto close job [” + getJobId() + “]” classname is DatafeedRunner.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

                        });
                    }

                    @Override
                    public void onFailure(Exception e) {
                        logger.error("Failed to remove datafeed persistent task - will not auto close job [" + getJobId() + "]"; e);
                    }
                }
            );
        }
    }

 

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?