You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Andi S <an...@outlook.de> on 2018/07/25 17:43:41 UTC
MetricsHistoryHandler getOverseerLeader fails when hostname contains
hyphen
Hello!
We encounter a lot of log warning entries from the MetricsHistoryHandler saying
o.a.s.h.a.MetricsHistoryHandler Unknown format of leader id, skipping: 244550997187166214-server1-b.myhost:8983_solr-n_0000000094
I don't even know what this _MetricsHistoryHandler_ does, but at least there's a warning.
Looking at the code you can see that it has to fail if the hostname of the node contains a hyphen:
[https://github.com/apache/lucene-solr/blob/d25f62634b95e49df739a5a2612f9b719ef3a77d/solr/core/src/java/org/apache/solr/handler/admin/MetricsHistoryHandler.java#L335]
Can one just ignore this warning and what will happen then?
Thanks in advance!
Re: MetricsHistoryHandler getOverseerLeader fails when hostname
contains hyphen
Posted by Chris Hostetter <ho...@fucit.org>.
: Subject: MetricsHistoryHandler getOverseerLeader fails when hostname contains
: hyphen
that's.... unfortunate. I filed a jira...
https://issues.apache.org/jira/browse/SOLR-12594
: Can one just ignore this warning and what will happen then?
I think as long as you don't care about the mstrics history reporting
(which collects long term metrics to rollup and see changes over time) you
can probably ignore that warning...
https://lucene.apache.org/solr/guide/7_4/metrics-history.html
-Hoss
http://www.lucidworks.com/