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

DistribPackageStore.distribute may alter node name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 9.1.1
    • None
    • Package Manager
    • None

    Description

      This bug occurs when using the package manager in solr cloud mode with solr nodes that have a node name starting with "solr".

      The distribute method in the DistribPackageStore alters the URL of the solr nodes by replacing the string "/solr" with "/api". This can lead to wrong host names of solr nodes, e.g. "http://solr-2.solrcluster:8983" is changed to "http://api-2.solrcluster:8983":

      2023-02-15 09:34:29.049 ERROR (qtp35984028-19) [] o.a.s.c.u.Utils Error in request to url : http://api-2.solrcluster:8983/api/node/files/_trusted_/keys/store-key?getFrom=solr-0.solrcluster:8983_solr => java.net.UnknownHostException: api-2.solrcluster
              at java.base/java.net.InetAddress$CachedAddresses.get(Unknown Source) 

      Attachments

        Activity

          People

            ichattopadhyaya Ishan Chattopadhyaya
            defonion def onion
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: