Cannot persist job request getJobId on node with version – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 6.8-6.8

Briefly, this error occurs when there is a version mismatch between the Elasticsearch node and the job you are trying to persist. This could be due to an upgrade or downgrade of Elasticsearch that hasn’t been fully propagated. To resolve this issue, you can either upgrade or downgrade the node to match the job version, or reindex the job to match the node version. Additionally, ensure that all nodes in your cluster are running the same version of Elasticsearch to prevent such issues.

This guide will help you check for common problems that cause the log ” Cannot persist job [” + request.getJobId() + “] on node with version ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin, request.

Log Context

Log “Cannot persist job [” + request.getJobId() + “] on node with version ” class name is TransportPersistJobAction.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 }  Version nodeVersion = executorNode.getVersion();
 if (nodeVersion.before(Version.V_6_3_0)) {
 listener.onFailure(
 new ElasticsearchException("Cannot persist job [" + request.getJobId() + "] on node with version " + nodeVersion));
 return;
 }  super.doExecute(task; request; listener);
 }

 

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?