Cannot kill the process on node with version – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 6.8-6.8

Briefly, this error occurs when you try to terminate a process on a node running a different version of Elasticsearch than the one you’re using. This could be due to version incompatibility or a failed upgrade. To resolve this, you can try to manually stop the process on the node, upgrade or downgrade the version of Elasticsearch on the node to match the version you’re using, or remove and re-add the node to the cluster after ensuring version compatibility.

This guide will help you check for common problems that cause the log ” Cannot kill the process on node with version ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin, node, version.

Log Context

Log “Cannot kill the process on node with version” class name is TransportKillProcessAction.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 return;
 }  Version nodeVersion = executorNode.getVersion();
 if (nodeVersion.before(Version.V_5_5_0)) {
 listener.onFailure(new ElasticsearchException("Cannot kill the process 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?