Cluster name is "elasticsearch" here.

--
David ;-)
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

> Le 24 avr. 2014 à 10:54, Pieter van der Meer <[email protected]> a écrit :
> 
> Thus, 
> 
> calling http://domaina.myHost9200:80/_nodes/ results in:
>  "cluster_name" : "elasticsearch",
>   "nodes" : {
>     "ER0q2vqdSleZpnKdi51_SQ" : {
>       "name" : "Baron Strucker",
>       "transport_address" : "inet[hawksbill.local/192.168.1.142:9300]",
>       "host" : "hawksbill.domainb",
>       "ip" : "127.0.1.1",
>       "version" : "1.0.2",
>       "build" : "4fc0da7",
>       "http_address" : "inet[/192.168.1.142:9200]",
> 
> (note domaina and domainb are not equal)
> 
> connecting with: 
> 
> Settings settings = ImmutableSettings.settingsBuilder()
>         .put("cluster.name", "Baron Strucker").build();
> 
> Client client = new TransportClient(settings)
>         .addTransportAddress(new 
> InetSocketTransportAddress("domainA.myhost9300", 80))
> 
> Should do the tric? Currently i'm working for my boss, but will try this 
> later today.
> 
> Pieter
> 
> 
> 
> 
> 
>> On Thursday, April 24, 2014 9:40:37 AM UTC+2, David Pilato wrote:
>> I think I'm missing something here.
>> So you have a proxy which redirect queries to port 80 to port 9300, right?
>> 
>> I think this should work.
>> 
>> But if Marvel interface works fine using localhost:80/_plugin/marvel URL, it 
>> means to me that you redirected 80 port to 9200 port.
>> 
>> Note that when using Transport Java Client, you need to define the same 
>> cluster name as you defined in your nodes.
>> 
>> HTH
>> 
>> -- 
>> David Pilato | Technical Advocate | Elasticsearch.com
>> @dadoonet | @elasticsearchfr
> 
> -- 
> 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/e055e190-12e2-4ca6-a32b-4349cb9a7ef6%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/C0004CFC-A5FD-4AB4-8B95-80839D133276%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

Reply via email to