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();
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:
- 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.