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

Andrzej Bialecki  commented on SOLR-13155:
------------------------------------------

Hmm, indeed this is dead code now... I think the pattern for other CLI commands 
is that there is some (partial) validation of the arguments in the script and 
the remaining part is done in Java. In this case it's perfectly valid to call 
this tool without any arguments, so I guess we can defer all option parsing and 
the help message to Java.

> CLI tool for testing autoscaling suggestions against a live cluster
> -------------------------------------------------------------------
>
>                 Key: SOLR-13155
>                 URL: https://issues.apache.org/jira/browse/SOLR-13155
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: AutoScaling
>            Reporter: Andrzej Bialecki 
>            Assignee: Andrzej Bialecki 
>            Priority: Major
>             Fix For: 8.0, master (9.0)
>
>         Attachments: SOLR-13155.patch, SOLR-13155.patch, SOLR-13155.patch
>
>
> Solr already provides /autoscaling/diagnostics and /autoscaling/suggestions 
> endpoints. In some situations it would be very helpful to be able to run 
> "what if" scenarios using data about nodes and replicas taken from a 
> production cluster but with a different autoscaling policy than the one that 
> is deployed, without also worrying that the calculations would negatively 
> impact a production cluster's Overseer leader.
> All necessary classes (including the Policy engine) are self-contained in the 
> SolrJ component, so it's just a matter of packaging and writing a CLI tool + 
> a wrapper script.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to