How to avoid cluster yellow without any indexing

I've been running elasticsearch cluster for more than 2 months. It was a
long journey and I finally came to the kafka river, which can make
elasticseach cluster more resilient because data pulling model is much more
stable than pushing model. Good thing is, I can totally stop elasticsearch
indexing without any data loss.

Question is, even though I stopped all indexing by stopping all river
instances, when I restarted one elasticsearch instance, the server status
became yellow. So, how can I update elasticsearch cluster without making
the server status yellow even there's no indexing and querying?

Thank you
Best, Jae

--

Jae wrote:

Question is, even though I stopped all indexing by stopping all
river instances, when I restarted one elasticsearch instance, the
server status became yellow. So, how can I update elasticsearch
cluster without making the server status yellow even there's no
indexing and querying?

Does it stay yellow, or does it eventually recover to green?

There isn't any inherent limitation with it being yellow; you can
still index and search. It just means not all replicas are accounted
for, which is common while a newly started node initializes its
shards.

-Drew

--

Basically you want to restart a server for various reasons? You can
temporarily disable dynamic allocation
using cluster.routing.allocation.disable_allocation. Simply re-enable
allocation when you are done restarting.

--
Ivan

On Tue, Nov 6, 2012 at 5:25 PM, Jae metacret@gmail.com wrote:

I've been running elasticsearch cluster for more than 2 months. It was a
long journey and I finally came to the kafka river, which can make
elasticseach cluster more resilient because data pulling model is much more
stable than pushing model. Good thing is, I can totally stop elasticsearch
indexing without any data loss.

Question is, even though I stopped all indexing by stopping all river
instances, when I restarted one elasticsearch instance, the server status
became yellow. So, how can I update elasticsearch cluster without making
the server status yellow even there's no indexing and querying?

Thank you
Best, Jae

--

--