[
https://issues.apache.org/jira/browse/SOLR-13468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hoss Man reopened SOLR-13468:
-----------------------------
[~noble.paul] - this broke precommit (and has been failing every jenkins build
for the psat ~21 hours)
{noformat}
[ecj-lint] 2. ERROR in
/home/hossman/lucene/dev/solr/core/src/java/org/apache/solr/cloud/autoscaling/AutoScalingHandler.java
(at line 74)
[ecj-lint] import static org.apache.solr.common.util.Utils.fromJSON;
[ecj-lint] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ecj-lint] The import org.apache.solr.common.util.Utils.fromJSON is never used
{noformat}
> autoscaling/suggestions should be able to give suggestions from payload
> -----------------------------------------------------------------------
>
> Key: SOLR-13468
> URL: https://issues.apache.org/jira/browse/SOLR-13468
> Project: Solr
> Issue Type: New Feature
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Noble Paul
> Assignee: Noble Paul
> Priority: Major
> Fix For: 8.2
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> There are cases where users would want to get the suggestion from autoscaling
> configuration sent as a payload . This is helpful in debugging the system or
> get alternate suggestions based on different config.
> {code:java}
> curl -X POST -H 'Content-type:application/json' -d '{
> "cluster-policy": [
> {"replica": "#EQUAL", "shard": "#EACH", "sysprop.zone": ["east", "west"]}
> ]
> }' http://localhost:8983/api/cluster/autoscaling/suggestions
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]