I have some integration test of my application. The integration test
starts own elastic search instance by node =
nodeBuilder().settings(settings).local(true).node();
and do its job.
However, I have other, running elastic search instance on my computer.
I observed that runnich elastic search instance and integration test
instance establish a connection (because I see IO exception in running
ES log when integration test is terminated)
My question is: how to configure ES for integration test to make sure
it is isolated against any other working ES in my computer/LAN?
I tried settings .put("multicast.enabled","false")
.put("discovery.zen.ping.multicast.ping.enabled", "false")
I have some integration test of my application. The integration test
starts own Elasticsearch instance by node =
nodeBuilder().settings(settings).local(true).node();
and do its job.
However, I have other, running Elasticsearch instance on my computer.
I observed that runnich Elasticsearch instance and integration test
instance establish a connection (because I see IO exception in running
ES log when integration test is terminated)
My question is: how to configure ES for integration test to make sure
it is isolated against any other working ES in my computer/LAN?
I tried settings .put("multicast.enabled","false")
.put("discovery.zen.ping.multicast.ping.enabled", "false")
We have 4 ES clusters inside our LAN without any problem.
We simply ensure we have unique cluster name for each cluster
and we also use Unicast and list all the nodes IP address for that
cluster in the elasticsearch.yml config file for each cluster.
I have some integration test of my application. The integration test
starts own Elasticsearch instance by node =
nodeBuilder().settings(settings).local(true).node();
and do its job.
However, I have other, running Elasticsearch instance on my computer.
I observed that runnich Elasticsearch instance and integration test
instance establish a connection (because I see IO exception in running
ES log when integration test is terminated)
My question is: how to configure ES for integration test to make sure
it is isolated against any other working ES in my computer/LAN?
I tried settings .put("multicast.enabled","false")
.put("discovery.zen.ping.multicast.ping.enabled", "false")
We have 4 ES clusters inside our LAN without any problem.
We simply ensure we have unique cluster name for each cluster
and we also use Unicast and list all the nodes IP address for that
cluster in the elasticsearch.yml config file for each cluster.
I have some integration test of my application. The integration test
starts own Elasticsearch instance by node =
nodeBuilder().settings(settings).local(true).node();
and do its job.
However, I have other, running Elasticsearch instance on my computer.
I observed that runnich Elasticsearch instance and integration test
instance establish a connection (because I see IO exception in running
ES log when integration test is terminated)
My question is: how to configure ES for integration test to make sure
it is isolated against any other working ES in my computer/LAN?
I tried settings .put("multicast.enabled","false")
.put("discovery.zen.ping.multicast.ping.enabled", "false")
We have 4 ES clusters inside our LAN without any problem.
We simply ensure we have unique cluster name for each cluster
and we also use Unicast and list all the nodes IP address for that
cluster in the elasticsearch.yml config file for each cluster.
I have some integration test of my application. The integration test
starts own Elasticsearch instance by node =
nodeBuilder().settings(settings).local(true).node();
and do its job.
However, I have other, running Elasticsearch instance on my computer.
I observed that runnich Elasticsearch instance and integration test
instance establish a connection (because I see IO exception in running
ES log when integration test is terminated)
My question is: how to configure ES for integration test to make sure
it is isolated against any other working ES in my computer/LAN?
I tried settings .put("multicast.enabled","false")
.put("discovery.zen.ping.multicast.ping.enabled", "false")
but without success
best regards
Michal Domagala
--
David Pilatohttp://dev.david.pilato.fr/
Twitter : @dadoonet
I have some integration test of my application. The integration test
starts own Elasticsearch instance by node =
nodeBuilder().settings(settings).local(true).node();
and do its job.
However, I have other, running Elasticsearch instance on my computer.
I observed that runnich Elasticsearch instance and integration test
instance establish a connection (because I see IO exception in running
ES log when integration test is terminated)
My question is: how to configure ES for integration test to make sure
it is isolated against any other working ES in my computer/LAN?
I tried settings .put("multicast.enabled","false")
.put("discovery.zen.ping.multicast.ping.enabled", "false")
Le 10 mai 2012 à 17:19, Michal Domagala <outsi...@gmail.com <javascript:>>
a écrit :
Hello,
I have some integration test of my application. The integration test
starts own Elasticsearch instance by node =
nodeBuilder().settings(settings).local(true).node();
and do its job.
However, I have other, running Elasticsearch instance on my computer.
I observed that runnich Elasticsearch instance and integration test
instance establish a connection (because I see IO exception in running
ES log when integration test is terminated)
My question is: how to configure ES for integration test to make sure
it is isolated against any other working ES in my computer/LAN?
I tried settings .put("multicast.enabled","false")
.put("discovery.zen.ping.multicast.ping.enabled", "false")
I have some integration test of my application. The integration test
starts own Elasticsearch instance by node =
nodeBuilder().settings(settings).local(true).node();
and do its job.
However, I have other, running Elasticsearch instance on my computer.
I observed that runnich Elasticsearch instance and integration test
instance establish a connection (because I see IO exception in running
ES log when integration test is terminated)
My question is: how to configure ES for integration test to make sure
it is isolated against any other working ES in my computer/LAN?
I tried settings .put("multicast.enabled","false")
.put("discovery.zen.ping.multicast.ping.enabled", "false")
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.