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

Opster Team

August-23, Version: 6.8-6.8

Before you dig into reading this guide, have you tried asking OpsGPT what this log means? You’ll receive a customized analysis of your log.

Try OpsGPT now for step-by-step guidance and tailored insights into your Elasticsearch operation.

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.

For a complete solution to your to your search operation, try for free AutoOps for Elasticsearch & OpenSearch . With AutoOps and Opster’s proactive support, you don’t have to worry about your search operation – we take charge of it. Get improved performance & stability with less hardware.

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?