JobId failed to search for associated datafeed – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 8.3-8.9

Briefly, this error occurs when Elasticsearch fails to find the associated datafeed for a specific JobId. This could be due to the datafeed not existing, being incorrectly named, or the JobId being incorrect. To resolve this issue, you can verify the existence and correct naming of the datafeed, ensure the JobId is correct, or recreate the datafeed if necessary. Additionally, check the Elasticsearch logs for more detailed error information.

This guide will help you check for common problems that cause the log ” [” + jobId + “] failed to search for associated datafeed ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin, task, search.

Log Context

Log “[” + jobId + “] failed to search for associated datafeed” classname is OpenJobPersistentTasksExecutor.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

                    }
                )
            );
        }; e -> {
            if (autodetectProcessManager.isNodeDying() == false) {
                logger.error(() -> "[" + jobId + "] failed to search for associated datafeed"; e);
            }
        });

        getRunningDatafeed(jobId; getRunningDatafeedListener);
    }

 

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?