# 'NoNodeAvailable' exception JMeter 10K requests

**URL:** <https://discuss.elastic.co/t/nonodeavailable-exception-jmeter-10k-requests/19788>\
**Category:** Elasticsearch\
**Created:** [September 15, 2014, 1:51pm UTC](https://discuss.elastic.co/t/nonodeavailable-exception-jmeter-10k-requests/19788 "2014-09-15T13:51:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vidosh\_Sahu](https://avatars.discourse-cdn.com/v4/letter/v/ebca7d/32.png) [@Vidosh\_Sahu](https://discuss.elastic.co/u/Vidosh_Sahu)\
**Post date:** [September 15, 2014, 1:51pm UTC](https://discuss.elastic.co/t/nonodeavailable-exception-jmeter-10k-requests/19788/1 "2014-09-15T13:51:20Z")

</div>

Hi All,

I am trying to do some es perf analysis. I have an AWS machine [quad core +  
16 gigs]. I have started the ES with 8 gigs. version 1.21

The ES server is a single cluster multi node setup. There are 9 nodes as of  
now.  
5M nodes - There are 3 nodes having 5M records each with 1/2/4 shard config.  
10M nodes - There are 3 nodes having 10M records each with 1/2/4 shard  
config.  
20M nodes - There are 3 nodes having 20M records each with 1/2/4 shard  
config.

Now i have written a java class extending 'AbstractJavaSamplerClient' [a  
Jmeter Custom java sampler]which creates some search requests.  
Thing is that it works fine for almost 2500 requests but anything more than  
that, it starts throwing the 'NoNodeAvailable' exception.

This is a jmeter test case that i am running in the non-gui mode. I have  
not used any heavy graphical listeners. I am using 'Aggregate Report'  
listener. But for debugging i have added 'View Results Tree' listener as  
well so that i know what happened to each request. This happens in both the  
cases [the failure after 2500 requests] if i use or don't use the VRT  
listener.

This is the ex stack-trace  
Response message: Exception: No node available  
at  
org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:219)  
at  
org.elasticsearch.client.transport.support.InternalTransportClient.execute(InternalTransportClient.java:106)  
at  
org.elasticsearch.client.support.AbstractClient.search(AbstractClient.java:212)  
at  
org.elasticsearch.client.transport.TransportClient.search(TransportClient.java:420)  
at  
org.elasticsearch.action.search.SearchRequestBuilder.doExecute(SearchRequestBuilder.java:1071)  
at  
org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:85)  
at  
org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:59)  
at  
com.readypulse.utils.ElasticSearchSamplerClient.runTest(ElasticSearchSamplerClient.java:59)  
at  
org.apache.jmeter.protocol.java.sampler.JavaSampler.sample(JavaSampler.java:191)  
at  
org.apache.jmeter.threads.JMeterThread.process\_sampler(JMeterThread.java:429)  
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)  
at java.lang.Thread.run(Thread.java:745)

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/574a3474-d5c3-4d21-8a9e-5abb674f5264%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/574a3474-d5c3-4d21-8a9e-5abb674f5264%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [September 15, 2014, 1:56pm UTC](https://discuss.elastic.co/t/nonodeavailable-exception-jmeter-10k-requests/19788/2 "2014-09-15T13:56:13Z")

</div>

Nodes did not respond, and if the last node disconnected and does not  
respond, the TransportClient reports in his log "no node available".

You have to look in the logs of the cluster nodes, there is more  
information.

Jörg

On Mon, Sep 15, 2014 at 3:51 PM, Vidosh Sahu [vidosh@readypulse.com](mailto:vidosh@readypulse.com) wrote:

> Hi All,
> 
> I am trying to do some es perf analysis. I have an AWS machine [quad core
> 
> - 16 gigs]. I have started the ES with 8 gigs. version 1.21
> 
> The ES server is a single cluster multi node setup. There are 9 nodes as  
> of now.  
> 5M nodes - There are 3 nodes having 5M records each with 1/2/4 shard  
> config.  
> 10M nodes - There are 3 nodes having 10M records each with 1/2/4 shard  
> config.  
> 20M nodes - There are 3 nodes having 20M records each with 1/2/4 shard  
> config.
> 
> Now i have written a java class extending 'AbstractJavaSamplerClient' [a  
> Jmeter Custom java sampler]which creates some search requests.  
> Thing is that it works fine for almost 2500 requests but anything more  
> than that, it starts throwing the 'NoNodeAvailable' exception.
> 
> This is a jmeter test case that i am running in the non-gui mode. I have  
> not used any heavy graphical listeners. I am using 'Aggregate Report'  
> listener. But for debugging i have added 'View Results Tree' listener as  
> well so that i know what happened to each request. This happens in both the  
> cases [the failure after 2500 requests] if i use or don't use the VRT  
> listener.
> 
> This is the ex stack-trace  
> Response message: Exception: No node available  
> at  
> org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:219)  
> at  
> org.elasticsearch.client.transport.support.InternalTransportClient.execute(InternalTransportClient.java:106)  
> at  
> org.elasticsearch.client.support.AbstractClient.search(AbstractClient.java:212)  
> at  
> org.elasticsearch.client.transport.TransportClient.search(TransportClient.java:420)  
> at  
> org.elasticsearch.action.search.SearchRequestBuilder.doExecute(SearchRequestBuilder.java:1071)  
> at  
> org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:85)  
> at  
> org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:59)  
> at  
> com.readypulse.utils.ElasticSearchSamplerClient.runTest(ElasticSearchSamplerClient.java:59)  
> at  
> org.apache.jmeter.protocol.java.sampler.JavaSampler.sample(JavaSampler.java:191)  
> at  
> org.apache.jmeter.threads.JMeterThread.process\_sampler(JMeterThread.java:429)  
> at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)  
> at java.lang.Thread.run(Thread.java:745)
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/574a3474-d5c3-4d21-8a9e-5abb674f5264%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/574a3474-d5c3-4d21-8a9e-5abb674f5264%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/574a3474-d5c3-4d21-8a9e-5abb674f5264%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/574a3474-d5c3-4d21-8a9e-5abb674f5264%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEcH\_pnggU%3DXd\_aMgskQeT0DnBxfHPV92g9%2B21jcoT4jw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEcH_pnggU%3DXd_aMgskQeT0DnBxfHPV92g9%2B21jcoT4jw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 1:02am UTC](https://discuss.elastic.co/t/nonodeavailable-exception-jmeter-10k-requests/19788/3 "2017-07-06T01:02:18Z")

</div>

Closed on July 6, 2017, 1:02am UTC


