Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 868A5D935 for ; Fri, 16 Nov 2012 07:10:14 +0000 (UTC) Received: (qmail 86153 invoked by uid 500); 16 Nov 2012 07:10:13 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 85966 invoked by uid 500); 16 Nov 2012 07:10:13 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 85940 invoked by uid 99); 16 Nov 2012 07:10:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2012 07:10:12 +0000 Date: Fri, 16 Nov 2012 07:10:12 +0000 (UTC) From: "Raintung Li (JIRA)" To: dev@lucene.apache.org Message-ID: <1219596185.122875.1353049812474.JavaMail.jiratomcat@arcas> In-Reply-To: <599738807.122847.1353048491986.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (SOLR-4088) ZkController baseURL only get the host name not address, will occur can't get the right URL to do recovery. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-4088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Raintung Li updated SOLR-4088: ------------------------------ Attachment: patch-4088.txt > 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 > Attachments: patch-4088.txt > > > 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: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org