# Remove Node

**URL:** <https://discuss.elastic.co/t/remove-node/3960>\
**Category:** Elasticsearch\
**Created:** [February 22, 2011, 12:35pm UTC](https://discuss.elastic.co/t/remove-node/3960 "2011-02-22T12:35:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karussell1](https://avatars.discourse-cdn.com/v4/letter/k/50afbb/32.png) [@Karussell1](https://discuss.elastic.co/u/Karussell1)\
**Post date:** [February 22, 2011, 12:35pm UTC](https://discuss.elastic.co/t/remove-node/3960/1 "2011-02-22T12:35:21Z")

</div>

Hi,

how can I safely remove a node?

I started with 3 ES instances then the shards are distributed to those  
node.

Now I would like to run ES with only 1 node but while indexing I get  
an error \* indicating that the shards are missing of the node which I  
shutdown via the API. Also when querying a lot of docs are missing and  
the facet count is wrong. When starting up again all nodes all is  
fine.

How can I handle removing nodes, so that all shards are available to  
the remaining nodes?

Regards,  
Peter.

- 

[168]: index [newtwindex], type [tweet], id [39839915390799873],  
message [UnavailableShardsException[[newtwindex][0] [2] shardIt, [0]  
active : Timeout waiting for [1m], request:  
org.elasticsearch.action.bulk.BulkShardRequest@16ff83ca]]

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [February 22, 2011, 12:48pm UTC](https://discuss.elastic.co/t/remove-node/3960/2 "2011-02-22T12:48:51Z")

</div>

Hi

> Now I would like to run ES with only 1 node but while indexing I get  
> an error \* indicating that the shards are missing of the node which I  
> shutdown via the API. Also when querying a lot of docs are missing and  
> the facet count is wrong. When starting up again all nodes all is  
> fine.

That should work. Was your cluster health green before you shut down?

Could you gist a recreation?

clint

---

<div class="post-metadata">

**Author:** ![Karussell1](https://avatars.discourse-cdn.com/v4/letter/k/50afbb/32.png) [@Karussell1](https://discuss.elastic.co/u/Karussell1)\
**Post date:** [February 22, 2011, 1:26pm UTC](https://discuss.elastic.co/t/remove-node/3960/3 "2011-02-22T13:26:40Z")

</div>

> Could you gist a recreation?

What do you mean should I gist? The logs?

---

<div class="post-metadata">

**Author:** ![Lukas\_Vlcek1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas_vlcek1/32/819_2.png) [@Lukas\_Vlcek1](https://discuss.elastic.co/u/Lukas_Vlcek1)\
**Post date:** [February 22, 2011, 1:31pm UTC](https://discuss.elastic.co/t/remove-node/3960/4 "2011-02-22T13:31:32Z")

</div>

Hi,

I think Clinton refers to [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/help/)

[http://www.elasticsearch.org/help/](http://www.elasticsearch.org/help/)If there is a simple way how the issues  
can be recreated with curl command then that would be helpful.

Regards,  
Lukas

On Tue, Feb 22, 2011 at 2:26 PM, Karussell [tableyourtime@googlemail.com](mailto:tableyourtime@googlemail.com)wrote:

> > Could you gist a recreation?
> 
> What do you mean should I gist? The logs?

---

<div class="post-metadata">

**Author:** ![Adriano\_Ferreira](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adriano_ferreira/32/3228_2.png) [@Adriano\_Ferreira](https://discuss.elastic.co/u/Adriano_Ferreira)\
**Post date:** [February 22, 2011, 1:32pm UTC](https://discuss.elastic.co/t/remove-node/3960/5 "2011-02-22T13:32:23Z")

</div>

On Tue, Feb 22, 2011 at 10:26 AM, Karussell [tableyourtime@googlemail.com](mailto:tableyourtime@googlemail.com)wrote:

> > Could you gist a recreation?
> 
> What do you mean should I gist? The logs?

He meant that: [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/help/)

---

<div class="post-metadata">

**Author:** ![Karussell1](https://avatars.discourse-cdn.com/v4/letter/k/50afbb/32.png) [@Karussell1](https://discuss.elastic.co/u/Karussell1)\
**Post date:** [February 22, 2011, 1:35pm UTC](https://discuss.elastic.co/t/remove-node/3960/6 "2011-02-22T13:35:25Z")

</div>

> Was your cluster health green before you shut down?

Ok, this was the problem. Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 4:11am UTC](https://discuss.elastic.co/t/remove-node/3960/7 "2017-07-06T04:11:43Z")

</div>


