Hi,
I have setup of elasticsearch 0.90.0 with two nodes, each one on different
data center. From time to time cluster status goes "yellow":
{
"cluster_name" : "my_cluster",
"status" : "yellow",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 10,
"active_shards" : 10,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 10
}
Probably it's some kind of short network freeze between es nodes, because
test which i run (at intervals of 15s):
nc -z -v -w 2 second_node 9300
Fri Jul 5 21:31:07 CEST 2013 Connection to second_node 9300 port [tcp/]
succeeded!
Fri Jul 5 21:31:22 CEST 2013 nc: connect to second_node port 9300 (tcp)
timed out: Operation now in progress
Fri Jul 5 21:31:39 CEST 2013 Connection to second_node 9300 port [tcp/]
succeeded!
What is strange for me, es nodes couldn't reconnect and i have that kind of
errors:
first_node: https://gist.github.com/planckiii/5947058
second_node: https://gist.github.com/planckiii/5947068
My Transport and Discover configurations on both nodes:
################################## Transport
##################################
transport.tcp.connect.timeout: 5s
################################## Discovery
##################################
discovery.zen.ping_timeout: 5s
discovery.zen.fd.ping_timeout: 30s
discovery.zen.fd.ping_interval: 2s
discovery.zen.fd.ping_retries: 10
discovery.zen.ping.multicast.enabled: false
After one node reset everything goes OK and cluster is properly balanced:
{
"cluster_name" : "my_cluster",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 2,
"number_of_data_nodes" : 2,
"active_primary_shards" : 10,
"active_shards" : 20,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 0
}
Any ideas what could be wrong with my setup ?
Regards
--
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.
For more options, visit https://groups.google.com/groups/opt_out.