You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2018/07/25 18:09:00 UTC
[jira] [Created] (SOLR-12594)
MetricsHistoryHandler.getOverseerLeader fails when hostname contains hyphen
Hoss Man created SOLR-12594:
-------------------------------
Summary: MetricsHistoryHandler.getOverseerLeader fails when hostname contains hyphen
Key: SOLR-12594
URL: https://issues.apache.org/jira/browse/SOLR-12594
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Reporter: Hoss Man
Assignee: Andrzej Bialecki
as reported on the user list...
{quote}
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:
{quote}
{code}
String[] ids = oid.split("-");
if (ids.length != 3) { // unknown format
log.warn("Unknown format of leader id, skipping: " + oid);
return null;
}
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org