I have a Java client that tries to connect to a cluster on startup. I would
like to set it up
so that if the cluster is not running, the client retries the connection
(after a suitable delay), until
the cluster is started.
If I have multicast enabled, the program works. If unicast is used,
however, the client fails to connect
even after the cluster is restarted. I get:
org.elasticsearch.cluster.block.ClusterBlockException: blocked by:
[SERVICE_UNAVAILABLE/1/state not recovered /
I have to restart the cluster and the client in order for the connection to
Is there a way to make this work without enabling multicast?
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 firstname.lastname@example.org.
For more options, visit https://groups.google.com/groups/opt_out.