Our Elasticsearch cluster is comprised of 4 very large instances running
Elasticsearch 1.4.0.
The Snapshot API is set up to take backups once a day in the evening. We
maintain 5 snapshots at a time, expiring the old ones as they drop off.
Note that we have a few thousand indices in the cluster.
While the Snapshot API is in progress, many times the cluster will fall
into a yellow state. Here's an example of the output from GET
_cluster/health?pretty=true when this happens:
It would appear the Snapshot API is somehow interfering with shards
initialization and/or allocation while the Snapshot is in progress. Once
the cluster falls into the YELLOW state during the Snapshot, it stays in
the YELLOW state until the snapshot completes. When the Snapshot completes,
the cluster immediately switches back to a GREEN state after all unassigned
shards are allocated to nodes.
Has anyone else experienced this behavior with Elasticsearch Snapshots? If
so, are there thoughts on what might be causing it? Was there a resolution?
Our Elasticsearch cluster is comprised of 4 very large instances running
Elasticsearch 1.4.0.
The Snapshot API is set up to take backups once a day in the evening. We
maintain 5 snapshots at a time, expiring the old ones as they drop off.
Note that we have a few thousand indices in the cluster.
While the Snapshot API is in progress, many times the cluster will fall
into a yellow state. Here's an example of the output from GET
_cluster/health?pretty=true when this happens:
It would appear the Snapshot API is somehow interfering with shards
initialization and/or allocation while the Snapshot is in progress. Once
the cluster falls into the YELLOW state during the Snapshot, it stays in
the YELLOW state until the snapshot completes. When the Snapshot completes,
the cluster immediately switches back to a GREEN state after all unassigned
shards are allocated to nodes.
Has anyone else experienced this behavior with Elasticsearch Snapshots?
If so, are there thoughts on what might be causing it? Was there a
resolution?
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.