[
https://issues.apache.org/jira/browse/SOLR-4088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13539625#comment-13539625
]
Commit Tag Bot commented on SOLR-4088:
--------------------------------------
[branch_4x commit] Robert Muir
http://svn.apache.org/viewvc?view=revision&revision=1425972
SOLR-4088: when host is null, fall back to interface iteration (heuristic 2) if
resolving the system hostname (heuristic 1) fails
> ZkController baseURL only get the host name not address, will occur can't get
> the right URL to do recovery.
> --------------------------------------------------------------------------------------------------------------
>
> Key: SOLR-4088
> URL: https://issues.apache.org/jira/browse/SOLR-4088
> Project: Solr
> Issue Type: Bug
> Components: SolrCloud
> Affects Versions: 4.0-ALPHA, 4.0-BETA, 4.0
> Environment: Linux env
> Reporter: Raintung Li
> Assignee: Mark Miller
> Fix For: 4.1, 5.0
>
> Attachments: patch-4088.txt, SOLR-4088_unknown_host.patch
>
>
> In the ZKController.getHostAddress, it gets host name. In the linux, get
> hostname from /etc/sysconfig/network or /etc/hostname that maybe not config
> for ip address.
>
> Other server can't access it(http://hostname:port/..) correctly that cause
> recovery fail.
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]