# \[ElasticSearch Java Client 1.1.1\] Create an ES node in app take minutes to start

**URL:** <https://discuss.elastic.co/t/elasticsearch-java-client-1-1-1-create-an-es-node-in-app-take-minutes-to-start/20129>\
**Category:** Elasticsearch\
**Created:** [October 8, 2014, 4:03am UTC](https://discuss.elastic.co/t/elasticsearch-java-client-1-1-1-create-an-es-node-in-app-take-minutes-to-start/20129 "2014-10-08T04:03:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zhao\_Wang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zhao_wang/32/1228_2.png) [@Zhao\_Wang](https://discuss.elastic.co/u/Zhao_Wang)\
**Post date:** [October 8, 2014, 4:03am UTC](https://discuss.elastic.co/t/elasticsearch-java-client-1-1-1-create-an-es-node-in-app-take-minutes-to-start/20129/1 "2014-10-08T04:03:43Z")

</div>

Hi all,

I am trying to use ElasticSearch Java Client library (version 1.1.1) to  
start a node inside the java application. However, it took a couple of  
minutes to initialize and start up. (more than 5 minutes before actually  
accept request)

My code is like below:

node = nodeBuilder().clusterName("testcluster").local(true).node();  
client = node.client();

Does any have similar problem? Any advice to fix this?

Any help is appreciated.

--  
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/6ed59172-fdad-47e0-826a-134d556b5722%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6ed59172-fdad-47e0-826a-134d556b5722%40googlegroups.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, 12:57am UTC](https://discuss.elastic.co/t/elasticsearch-java-client-1-1-1-create-an-es-node-in-app-take-minutes-to-start/20129/2 "2017-07-06T00:57:47Z")

</div>


