[ 
https://issues.apache.org/jira/browse/SOLR-12594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16567280#comment-16567280
 ] 

ASF subversion and git services commented on SOLR-12594:
--------------------------------------------------------

Commit b03c1ad6f6ccf5a90a221d667152946f5c3dead3 in lucene-solr's branch 
refs/heads/branch_7x from Andrzej Bialecki
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=b03c1ad ]

SOLR-12594: MetricsHistoryHandler.getOverseerLeader fails when hostname 
contains hyphen.


> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to