You need to put that into the elasticsearch.yml and then restart each node.

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: [email protected]
web: www.campaignmonitor.com


On 9 April 2014 10:46, Ryan Bellows <[email protected]> wrote:

> Hi all,
> I've got a 5 node elasticsearch cluster that has 3 machines with a
> "node.storage: ssd_fast" and 2 with "node.storage: sata_slow" attributes.
> I'd like to write today's index (this is being used for logstash) to the
> ssd machines, and then use the slow ones for archiving shards.
>
> Here's the error I"m getting when I try to change the index routing (for
> all existing indexes):
>
> curl -XPUT es3:9200/_settings -d '{
> "index" : {
> "index.routing.allocation.include.node.storage" : "ssd_fast"
> }
> }'
>
> {"error":"RemoteTransportException[[es3][inet[/10.123.123.103:9300]][indices/settings/update]];
> nested: ElasticsearchIllegalArgumentException[Can't update non dynamic
> settings[[index.index.routing.allocation.include.node.storage]] for open
> indices[[logstash-sfo1-2014.04.09, logstash-sfo1-2014.04.08, kibana-int]]];
> ","status":400}k
>
>
> Any pointers appreciated, thanks.
>
> -Ryan
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/3d3d6edd-6b57-4c0c-8e6d-dd98f8aa84dc%40googlegroups.com<https://groups.google.com/d/msgid/elasticsearch/3d3d6edd-6b57-4c0c-8e6d-dd98f8aa84dc%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAEM624b4jV5LqDUkBYUeBz9_TOvOG_9uxY8MigOOv1tRCxjfFA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to