[jira] [Created] (SOLR-12977) Autoscaling policy initialisation tries to fetch metrics from dead nodes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (SOLR-12977) Autoscaling policy initialisation tries to fetch metrics from dead nodes

JIRA jira@apache.org
Shalin Shekhar Mangar created SOLR-12977:
--------------------------------------------

             Summary: Autoscaling policy initialisation tries to fetch metrics from dead nodes
                 Key: SOLR-12977
                 URL: https://issues.apache.org/jira/browse/SOLR-12977
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: AutoScaling
            Reporter: Shalin Shekhar Mangar
             Fix For: 7.6, master (8.0)


Autoscaling policy initialisation tries to fetch metrics for each node during construction. However, it does not skip the known dead nodes causing a timeout to be logged. We should skip such requests entirely.

{code}
20579 WARN  (AutoscalingActionExecutor-37-thread-1) [    ] o.a.s.c.s.i.SolrClientNodeStateProvider could not get tags from node 127.0.0.1:63255_solr
org.apache.solr.client.solrj.SolrServerException: Server refused connection at: http://127.0.0.1:63255/solr
        at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:650) ~[java/:?]
        at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:255) ~[java/:?]
        at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:244) ~[java/:?]
        at org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1260) ~[java/:?]
        at org.apache.solr.client.solrj.impl.SolrClientNodeStateProvider$ClientSnitchCtx.invoke(SolrClientNodeStateProvider.java:342) ~[java/:?]
        at org.apache.solr.client.solrj.impl.SolrClientNodeStateProvider.fetchReplicaMetrics(SolrClientNodeStateProvider.java:195) [java/:?]
        at org.apache.solr.client.solrj.impl.SolrClientNodeStateProvider.fetchReplicaMetrics(SolrClientNodeStateProvider.java:186) [java/:?]
        at org.apache.solr.client.solrj.impl.SolrClientNodeStateProvider.getReplicaInfo(SolrClientNodeStateProvider.java:169) [java/:?]
        at org.apache.solr.client.solrj.cloud.autoscaling.Row.<init>(Row.java:60) [java/:?]
        at org.apache.solr.client.solrj.cloud.autoscaling.Suggester.getSuggestion(Suggester.java:181) [java/:?]
        at org.apache.solr.cloud.autoscaling.ComputePlanAction.process(ComputePlanAction.java:114) [java/:?]
        at org.apache.solr.cloud.autoscaling.ScheduledTriggers.lambda$null$419(ScheduledTriggers.java:308) [java/:?]

{code}



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

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