[jira] [Commented] (SOLR-12908) Add a default set of cluster preferences

2018-10-24 Thread Varun Thacker (JIRA)


[ 
https://issues.apache.org/jira/browse/SOLR-12908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16662437#comment-16662437
 ] 

Varun Thacker commented on SOLR-12908:
--

I missed that! Sorry for the noise.

It would be really nice if this was not in code and defined explicitly in the 
autoscaling.json file . What do you think?

> Add a default set of cluster preferences
> 
>
> Key: SOLR-12908
> URL: https://issues.apache.org/jira/browse/SOLR-12908
> Project: Solr
>  Issue Type: Improvement
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: AutoScaling
>Reporter: Varun Thacker
>Priority: Major
>
> Similar to SOLR-12845 where we want to add a set of default cluster policies, 
> we should add some default cluster preferences as well
>  
> We should always be trying to minimze cores , maximize freedisk for example.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-12908) Add a default set of cluster preferences

2018-10-23 Thread Shalin Shekhar Mangar (JIRA)


[ 
https://issues.apache.org/jira/browse/SOLR-12908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16661542#comment-16661542
 ] 

Shalin Shekhar Mangar commented on SOLR-12908:
--

We already have them? See SOLR-11051.

>From Policy.java:
{code}
 public static final List DEFAULT_PREFERENCES = 
Collections.unmodifiableList(
  Arrays.asList(
  // NOTE - if you change this, make sure to update the 
solrcloud-autoscaling-overview.adoc which
  // lists the default preferences
  new Preference((Map) Utils.fromJSONString("{minimize 
: cores, precision:1}")),
  new Preference((Map) Utils.fromJSONString("{maximize 
: freedisk}";
{code}

> Add a default set of cluster preferences
> 
>
> Key: SOLR-12908
> URL: https://issues.apache.org/jira/browse/SOLR-12908
> Project: Solr
>  Issue Type: Improvement
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: AutoScaling
>Reporter: Varun Thacker
>Priority: Major
>
> Similar to SOLR-12845 where we want to add a set of default cluster policies, 
> we should add some default cluster preferences as well
>  
> We should always be trying to minimze cores , maximize freedisk for example.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org