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

Andrzej Bialecki  resolved SOLR-12594.
--------------------------------------
    Resolution: Fixed

> 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) 
>          Components: metrics
>    Affects Versions: 7.4
>            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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to