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);
                    }
                }
            );
        }
    }

 

 [ratemypost]

Opster
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.