# Intermittent No node available exceptions

**URL:** <https://discuss.elastic.co/t/intermittent-no-node-available-exceptions/156390>\
**Category:** Elasticsearch\
**Created:** [November 13, 2018, 5:51am UTC](https://discuss.elastic.co/t/intermittent-no-node-available-exceptions/156390 "2018-11-13T05:51:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shshnk28](https://avatars.discourse-cdn.com/v4/letter/s/d07c76/32.png) [@shshnk28](https://discuss.elastic.co/u/shshnk28)\
**Post date:** [November 13, 2018, 5:51am UTC](https://discuss.elastic.co/t/intermittent-no-node-available-exceptions/156390/1 "2018-11-13T05:51:54Z")

</div>

We have a 7 node cluster with 6 of them running ES version 5.2.1. One of the nodes is on 5.6.6. We observe that this node leaves the cluster intermittently.  
I have grabbed the log when the node disconnects from the cluster  
As per [this](https://discuss.elastic.co/t/node-stats-failed-to-deserialize-response-of-type-org-elasticsearch-action-admin-cluster-node-stats-nodestats/14306) link

this might come from different versions of ES and different version of java as well. But since that's an issue for older version of ES I am trying to reconfirm.  
Unfortunately java versions on the nodes are different as well

On 5.2.1 node  
$ java -version  
openjdk version "1.8.0\_121"  
OpenJDK Runtime Environment (build 1.8.0\_121-b13)  
OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)

On 5.6.6 node  
$java -version  
openjdk version "1.8.0\_151"  
OpenJDK Runtime Environment (build 1.8.0\_151-b12)  
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)

Here is the log when the node disconnects from the cluster  
[https://pastebin.com/5wCEaQXs](https://pastebin.com/5wCEaQXs)

I am just trying to confirm if the different ES versions is the issue here or it could be something else.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [November 13, 2018, 6:24am UTC](https://discuss.elastic.co/t/intermittent-no-node-available-exceptions/156390/2 "2018-11-13T06:24:32Z")

</div>

Apart from during rolling upgrades, you should never run clusters containing mixed versions. Shards that get placed on the node with the never version can not be read by the other nodes as the Lucene version differs. This may over time cause indices to go yellow as primaries on the newer node can not be replicates to any of the other nodes in case of failure.

I am not sure this necessarily causes the intermittent disconnect, but would recommend ensuring all nodes are running the same version and see if this has any impact.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 11, 2018, 6:24am UTC](https://discuss.elastic.co/t/intermittent-no-node-available-exceptions/156390/3 "2018-12-11T06:24:34Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
