You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Andrzej Bialecki (JIRA)" <ji...@apache.org> on 2018/08/01 17:49:00 UTC

[jira] [Updated] (SOLR-12594) MetricsHistoryHandler.getOverseerLeader fails when hostname contains hyphen

     [ https://issues.apache.org/jira/browse/SOLR-12594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrzej Bialecki  updated SOLR-12594:
-------------------------------------
    Fix Version/s: 7.5

> 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 
>            Priority: Major
>             Fix For: 7.5
>
>
> 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