You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Raintung Li (JIRA)" <ji...@apache.org> on 2012/11/16 07:48:11 UTC

[jira] [Created] (SOLR-4088) ZkController baseURL only get the host name not address, will occur can't get the right URL to do recovery.

Raintung Li created SOLR-4088:
---------------------------------

             Summary: 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, 4.0-BETA, 4.0-ALPHA
         Environment: Linux env
            Reporter: Raintung Li


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


[jira] [Updated] (SOLR-4088) ZkController baseURL only get the host name not address, will occur can't get the right URL to do recovery.

Posted by "Raintung Li (JIRA)" <ji...@apache.org>.
     [ 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

change host name to host address
                
> 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


[jira] [Updated] (SOLR-4088) ZkController baseURL only get the host name not address, will occur can't get the right URL to do recovery.

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-4088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller updated SOLR-4088:
------------------------------

    Fix Version/s: 5.0
                   4.1
    
> 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
>
>
> 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


[jira] [Updated] (SOLR-4088) ZkController baseURL only get the host name not address, will occur can't get the right URL to do recovery.

Posted by "Raintung Li (JIRA)" <ji...@apache.org>.
     [ 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


[jira] [Assigned] (SOLR-4088) ZkController baseURL only get the host name not address, will occur can't get the right URL to do recovery.

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-4088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller reassigned SOLR-4088:
---------------------------------

    Assignee: Mark Miller
    
> 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
>
>
> 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


[jira] [Updated] (SOLR-4088) ZkController baseURL only get the host name not address, will occur can't get the right URL to do recovery.

Posted by "Raintung Li (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-4088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raintung Li updated SOLR-4088:
------------------------------

    Attachment:     (was: 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