# ES 1.6 - Integration test NOT in local mode (with http)

**URL:** <https://discuss.elastic.co/t/es-1-6-integration-test-not-in-local-mode-with-http/24434>\
**Category:** Elasticsearch\
**Created:** [June 26, 2015, 2:49pm UTC](https://discuss.elastic.co/t/es-1-6-integration-test-not-in-local-mode-with-http/24434 "2015-06-26T14:49:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kage](https://avatars.discourse-cdn.com/v4/letter/k/e36b37/32.png) [@kage](https://discuss.elastic.co/u/kage)\
**Post date:** [June 26, 2015, 2:49pm UTC](https://discuss.elastic.co/t/es-1-6-integration-test-not-in-local-mode-with-http/24434/1 "2015-06-26T14:49:44Z")

</div>

Hi,

I am using your ElasticsearchIntegrationTest class to test my MR job. In 1.4.2 there was no problem to get http address from cluster.

This method returned me what I needed to provide to my MR job:  
InetSocketAddress inetSocketAddress = cluster().httpAddresses()[0];

Now I upgraded to 1.6.0 and it seems the cluster is starting all nodes in local mode and the same method throws GuiceConfiguration error:  
org.elasticsearch.common.inject.ConfigurationException: Guice configuration errors:

1. No implementation for org.elasticsearch.http.HttpServerTransport was bound.  
while locating org.elasticsearch.http.HttpServerTransport

The error itself of course makes sense cause all nodes are local.

The question is how can I now get http address and port so that I could still use it with my MR job.  
Do I have to give some extra settings so that this integration test will create not local nodes?

Thanks for any help.

Cheers,  
Kamil.

---

<div class="post-metadata">

**Author:** ![thibaultclem](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thibaultclem/32/3668_2.png) [@thibaultclem](https://discuss.elastic.co/u/thibaultclem)\
**Post date:** [August 27, 2015, 11:04am UTC](https://discuss.elastic.co/t/es-1-6-integration-test-not-in-local-mode-with-http/24434/2 "2015-08-27T11:04:24Z")

</div>

Hi Kamil,  
I encountered the same issue.  
Did you finally find a way to manage this ?  
Thanks,  
Thibaullt

---

<div class="post-metadata">

**Author:** ![kage](https://avatars.discourse-cdn.com/v4/letter/k/e36b37/32.png) [@kage](https://discuss.elastic.co/u/kage)\
**Post date:** [September 4, 2015, 2:17pm UTC](https://discuss.elastic.co/t/es-1-6-integration-test-not-in-local-mode-with-http/24434/3 "2015-09-04T14:17:52Z")

</div>

Hi,

Sorry for late reply. I solved that problem by getting away from their class, I wasn’t able to make it work the way I wanted.  
Right now I’m just starting a node using nodeBuilder and setting local to false.

Then later just publishing http address. If you will need some code sample how to do it let me know.

Cheers,  
Kamil.

---

<div class="post-metadata">

**Author:** ![thibaultclem](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thibaultclem/32/3668_2.png) [@thibaultclem](https://discuss.elastic.co/u/thibaultclem)\
**Post date:** [October 1, 2015, 3:23am UTC](https://discuss.elastic.co/t/es-1-6-integration-test-not-in-local-mode-with-http/24434/4 "2015-10-01T03:23:20Z")

</div>

Thanks but like you I finally managed it

---

<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 5, 2017, 11:47pm UTC](https://discuss.elastic.co/t/es-1-6-integration-test-not-in-local-mode-with-http/24434/5 "2017-07-05T23:47:18Z")

</div>


