If you remove a node then the corresponding replicas around the cluster
will be promoted to primaries and new replicas are initialised.
You can definitely remove a node, you can either stop the service and let
things recover, or use the shutdown API call to do it in a more ordered
fashion.

On 8 January 2015 at 08:37, Bhumir Jhaveri <bhumi...@gmail.com> wrote:

> what happens when you take off one of the node which is already having
> some shards allocated to it?
> Is it like replica would then come into play at that time?
> If permanently I want to decommission a node - is that a possible or that
> is something one shouldn't be doing?
>
>
>
>
> On Wednesday, January 7, 2015 11:46:57 AM UTC-8, Mark Walkom wrote:
>>
>> Yes it auto distributes existing, and new, shards.
>>
>> On 8 January 2015 at 05:55, Bhumir Jhaveri <bhum...@gmail.com> wrote:
>>
>>> Also one more question - lets say intially I have one node architecture
>>> - i.e. everything on one single node and additional mount is having all the
>>> ES data (index, documents etc) which is like of 300 gigs - now lets say if
>>> I add more data nodes - so going forward it will distribute the shards to
>>> different nodes or existing data will automatically be redistributed too?
>>>
>>>
>>>
>>> On Wednesday, January 7, 2015 9:57:44 AM UTC-8, David Pilato wrote:
>>>>
>>>> No you don’t have to reindex.
>>>> Elasticsearch can read segments generated with previous elasticsearch
>>>> version.
>>>>
>>>> --
>>>> *David Pilato* | *Technical Advocate* | *Elasticsearch.com
>>>> <http://Elasticsearch.com>*
>>>> @dadoonet <https://twitter.com/dadoonet> | @elasticsearchfr
>>>> <https://twitter.com/elasticsearchfr> | @scrutmydocs
>>>> <https://twitter.com/scrutmydocs>
>>>>
>>>>
>>>>
>>>> Le 7 janv. 2015 à 18:50, Bhumir Jhaveri <bhum...@gmail.com> a écrit :
>>>>
>>>> Alright cool David! if this is the pain point then I dont think that I
>>>> should limit this upgrade to only 1.3 - I will go for 1.4
>>>>
>>>> one more thing - I already have around 300 GB(max capacity 2TB) of
>>>> indexed data available in my additional storage which I exclusively kept
>>>> for ES - so far this 300 gigs of data has been generated by ES1.2 - now if
>>>> I move to ES 1.4 - will that cause any issue?
>>>> Do I need to regenerate anything over here or ES 1.4 will automatically
>>>> accept whatever has been generated by ES1.2?
>>>>
>>>> its more of back compatibility point which I am trying to raise here.
>>>>
>>>>
>>>>
>>>> On Wednesday, January 7, 2015 9:46:50 AM UTC-8, David Pilato wrote:
>>>>>
>>>>> It’s most likely because on your dev system, you are running out of
>>>>> disk space.
>>>>> Elasticsearch 1.4.x does not allocate replicas if you have more than
>>>>> 85% disk usage.
>>>>> You can change this settings by modifying for example
>>>>> elasticsearch.yml and set:
>>>>>
>>>>> cluster.routing.allocation.disk.watermark.low: 1gb
>>>>> cluster.routing.allocation.disk.watermark.high: 500mb
>>>>>
>>>>> Regarding your question, I would go for 1.4.
>>>>>
>>>>> HTH
>>>>>
>>>>> --
>>>>> *David Pilato* | *Technical Advocate* | *Elasticsearch.com
>>>>> <http://elasticsearch.com/>*
>>>>> @dadoonet <https://twitter.com/dadoonet> | @elasticsearchfr
>>>>> <https://twitter.com/elasticsearchfr> | @scrutmydocs
>>>>> <https://twitter.com/scrutmydocs>
>>>>>
>>>>>
>>>>>
>>>>> Le 7 janv. 2015 à 18:41, Bhumir Jhaveri <bhum...@gmail.com> a écrit :
>>>>>
>>>>> I am planning to upgrade from ES 1.2.2 to ES 1.4.2 or 1.3.9 or
>>>>> whichever is the most latest (stable) in 1.3 series - so should I go for
>>>>> 1.4 or should stay with 1.3?
>>>>> the reason why I am not thinking about absolute upgrade to 1.4 is just
>>>>> so that if certain things like shards allocations to different node/s
>>>>> suddenly doesnt work or may be I am wrong too - I mean this type of sudden
>>>>> and obvious things just stops working - I am still new to ES world and not
>>>>> knowing ES fully.
>>>>>
>>>>> Not sure - need opinions on your experience if any?
>>>>>
>>>>>
>>>>> --
>>>>> 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 elasticsearc...@googlegroups.com.
>>>>> To view this discussion on the web visit https://groups.google.co
>>>>> m/d/msgid/elasticsearch/ae8afb06-d923-4bf6-ac3c-adcb35a51fdf
>>>>> %40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/elasticsearch/ae8afb06-d923-4bf6-ac3c-adcb35a51fdf%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>>
>>>>>
>>>> --
>>>> 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 elasticsearc...@googlegroups.com.
>>>> To view this discussion on the web visit https://groups.google.co
>>>> m/d/msgid/elasticsearch/5e503a64-c9b2-42f2-9d0f-187c89f097dc
>>>> %40googlegroups.com
>>>> <https://groups.google.com/d/msgid/elasticsearch/5e503a64-c9b2-42f2-9d0f-187c89f097dc%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>>
>>>>  --
>>> 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 elasticsearc...@googlegroups.com.
>>> To view this discussion on the web visit https://groups.google.com/d/
>>> msgid/elasticsearch/b2818693-9307-44fc-af38-b529d2fc3d05%
>>> 40googlegroups.com
>>> <https://groups.google.com/d/msgid/elasticsearch/b2818693-9307-44fc-af38-b529d2fc3d05%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/33d1e12d-e527-495b-854e-e59987a649ae%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/33d1e12d-e527-495b-854e-e59987a649ae%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAEYi1X8zQaEBCNW0X_3zjyZGDx8Z84p0SfG-pKbOm2jf2jhshw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to