Successfully updated remote job – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 6.8-8.9

Briefly, this error occurs when Elasticsearch has successfully updated a remote job. However, this message is not an error but a confirmation that a task has been completed successfully. If you’re seeing this message frequently and it’s causing confusion, you may want to adjust your logging settings to reduce the verbosity. Alternatively, if you didn’t expect this job to run, check your job scheduling and configuration to ensure everything is set up correctly.

This guide will help you check for common problems that cause the log ” Successfully updated remote job [{}] ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin.

Log Context

Log “Successfully updated remote job [{}]” classname is UpdateJobProcessNotifier.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

        executeAsyncWithOrigin(client; ML_ORIGIN; UpdateProcessAction.INSTANCE; request; new ActionListener() {
            @Override
            public void onResponse(Response response) {
                if (response.isUpdated()) {
                    logger.info("Successfully updated remote job [{}]"; update.getJobId());
                    updateHolder.listener.onResponse(true);
                } else {
                    String msg = "Failed to update remote job [" + update.getJobId() + "]";
                    logger.error(msg);
                    updateHolder.listener.onFailure(ExceptionsHelper.serverError(msg));

 

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?