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.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0-ALPHA, 4.0-BETA, 4.0
    • Fix Version/s: 4.1, 6.0
    • Component/s: SolrCloud
    • Labels:
      None
    • Environment:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: