Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-4088

ZkController baseURL only get the host name not address, will occur can't get the right URL to do recovery.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0-ALPHA, 4.0-BETA, 4.0
    • 4.1, 6.0
    • SolrCloud
    • None
    • Linux env

    Description

      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.

      Attachments

        1. SOLR-4088_unknown_host.patch
          1 kB
          Robert Muir
        2. patch-4088.txt
          2 kB
          Raintung Li

        Activity

          People

            markrmiller@gmail.com Mark Miller
            raintung.li Raintung Li
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: