shard allocation per node

2015-03-30 Thread Georgi Ivanov
Hi, What is the rule for primary shard allocation for single index? I created one index with 9 primary and 0 replica shards. Elasticsearch allocated 5 primary shards on ES01 server (the node with least storage available) and 4 more shards on different nodes. I have 9 servers. For this index onl

Re: Disk-based shard allocation per node settings

2014-10-02 Thread Mark Walkom
Nope, it's for the node as a whole. Regards, Mark Walkom Infrastructure Engineer Campaign Monitor email: ma...@campaignmonitor.com web: www.campaignmonitor.com On 3 October 2014 07:18, Andrew Mehler wrote: > If I hava multiple data dirs on a node, can I apply these settings to each > directory

Re: Disk-based shard allocation per node settings

2014-10-02 Thread Andrew Mehler
If I hava multiple data dirs on a node, can I apply these settings to each directory individually? On Friday, May 16, 2014 9:31:11 AM UTC-4, Itamar Syn-Hershko wrote: > > The link you provided is for transient settings, meaning they will reset > once the cluster restarts. Doing this via the conf

Re: Disk-based shard allocation per node settings

2014-05-16 Thread Itamar Syn-Hershko
The link you provided is for transient settings, meaning they will reset once the cluster restarts. Doing this via the configurations file ensures the settings are loaded back. As Mark said, this is cluster level settings. If you have nodes with different HD characteristics you probably want to us

Re: Disk-based shard allocation per node settings

2014-05-16 Thread Michel Conrad
What if I set the option in the configuration file, will it then only be applied to the node reading the configuration file? On Fri, May 16, 2014 at 10:36 AM, Mark Walkom wrote: > It's a cluster level setting, so all nodes use the same one. > As far as I know, there is no node level setting. > >

Re: Disk-based shard allocation per node settings

2014-05-16 Thread Mark Walkom
It's a cluster level setting, so all nodes use the same one. As far as I know, there is no node level setting. Regards, Mark Walkom Infrastructure Engineer Campaign Monitor email: ma...@campaignmonitor.com web: www.campaignmonitor.com On 16 May 2014 17:43, Michel Conrad wrote: > Is it possibl

Disk-based shard allocation per node settings

2014-05-16 Thread Michel Conrad
Is it possible to specify different thresholds for different nodes in the cluster? I could not find it in the documentation, when updating the setting through the cluster settings as described on http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/index-modules-allocation.html#dis