The code that we are using is :

Settings settings = ImmutableSettings.settingsBuilder()
               .put("cluster.name", "dev").put( "client.transport.sniff", 
true ) .build();
        Client client =    new TransportClient(settings)

        .addTransportAddress(new 
InetSocketTransportAddress("<loadbalancerip>", 9300));

On Thursday, March 27, 2014 10:26:14 PM UTC+5:30, PKD wrote:
>
> Hi,
>
> I have 3 Elastic Search Nodes (1.0.2) setup which are behind a 
> loadbalancer. We have some code written which uses transport client to 
> connect to independent nodes and populate data but the same code when we 
> point to loadbalancer and provide the cluster name it throws an error : 
> org.elasticsearch.client.transport.NoNodeAvailableException: No node 
> available
>
> Please let me know is there any different mechanism to connect to Elastic 
> Search through load balancer ?
>
> Thanks in advance.
>
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/0c7a0e0b-541d-443f-80dd-ad8f62f1814a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to