I believe that the host names must be comma-separated and no quotes or 
other punctuation should be present. The config within the environment 
variable or java -D (system properties) is YAML-like, not JSON. No blanks 
between the names, for example:

export ES_HOSTS=host1,host2,host3

When configuring Unicast, here are the java -D options I use in my own 
custom Elasticsearch start-up / shutdown / status script:

-Des.discovery.zen.ping.multicast.enabled=false 
-Des.discovery.zen.ping.unicast.hosts=host1,host2,host3 
-Des.discovery.zen.minimum_master_nodes=2

Brian

-- 
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/d2dad32b-00c7-4c61-b08c-503f5b29c3c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to