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

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6ed59172-fdad-47e0-826a-134d556b5722%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.