Java API : Transport client not complaining when no cluster is on

Hi,

Can anyone tell me why my Elasticsearch Transport Client does not complain
when not finding a cluster ?

Code here :
https://github.com/YannBrrd/json-import/blob/master/src/main/java/org/yaba/curbside/ESInjector.java#L92

Thanks.

Regards,
Yann

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/c8919e59-dd62-45a1-a7f0-2b39f1beebd5%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Is it the same with "client.transport.sniff" set to false?

Jörg

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHPdeR26En8qimLj%2BEdRQS8mTPwi0X-AGrswskUOS1SDA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Yes.

In the end Shay told me to use conectedNodes from the client API. Code
avalable at github
https://github.com/YannBrrd/json-import/blob/master/src/main/java/org/yaba/curbside/ESInjector.java#L95

Cordialement,
Yann Barraud

2013/12/30 joergprante@gmail.com joergprante@gmail.com

Is it the same with "client.transport.sniff" set to false?

Jörg

--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/2jLq6iuS3po/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHPdeR26En8qimLj%2BEdRQS8mTPwi0X-AGrswskUOS1SDA%40mail.gmail.com
.

For more options, visit https://groups.google.com/groups/opt_out.

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CA%2BhvuXd%3DmC5d%2BOQG0Bu_7vri%2BLL%2BztQG3Zr%3DRyrmP%2B6U94iXNA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.