I have a huge elasticsearch cluster with 18 nodes each having a jvm heap
size of 25gb. The cluster holds total of 182 timestamped indices. Each
index has approximately 1500 aliases.
Whenever I do a full cluster restart the master node goes into massive
garbage collection and is not able to recover indices into the cluster
state. As a result the cluster state shows:
"cluster_name" : "ES_cluster",
"status" : "red",
"timed_out" : false,
"number_of_nodes" : 18,
"number_of_data_nodes" : 18,
"active_primary_shards" : 0,
"active_shards" : 0,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 0
After sometime the ping timeouts kicks in and the master node is dropped
from the cluster and is unable to rejoin it again. After it has dropped
from the cluster a new master is elected and then it also goes into massive
garbage collection. It seems that too many aliases are causing the cluster
state to explode.
I think my problem is similar to this question: http://elasticsearch-users.115913.n3.nabble.com/Multiple-cluster-state-copies-in-memory-VS-many-aliases-td4046417.html
I am using ES version : 1.2.1 , Java version : 1.8.0_05
Does anyone know how to get around the 'too many aliases' problem without
deleting the aliases?
On Jun 13, 2014, at 0:54, hrishikesh prabhune hruship@gmail.com wrote:
I have a huge elasticsearch cluster with 18 nodes each having a jvm heap size of 25gb. The cluster holds total of 182 timestamped indices. Each index has approximately 1500 aliases.
Whenever I do a full cluster restart the master node goes into massive garbage collection and is not able to recover indices into the cluster state. As a result the cluster state shows:
"cluster_name" : "ES_cluster",
"status" : "red",
"timed_out" : false,
"number_of_nodes" : 18,
"number_of_data_nodes" : 18,
"active_primary_shards" : 0,
"active_shards" : 0,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 0
After sometime the ping timeouts kicks in and the master node is dropped from the cluster and is unable to rejoin it again. After it has dropped from the cluster a new master is elected and then it also goes into massive garbage collection. It seems that too many aliases are causing the cluster state to explode.
I think my problem is similar to this question: http://elasticsearch-users.115913.n3.nabble.com/Multiple-cluster-state-copies-in-memory-VS-many-aliases-td4046417.html
I am using ES version : 1.2.1 , Java version : 1.8.0_05
Does anyone know how to get around the 'too many aliases' problem without deleting the aliases?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.