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

DistribPackageStore.distribute may alter node name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 9.1.1
    • main (10.0), 9.7
    • 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

        Issue Links

          Activity

            People

              epugh Eric Pugh
              defonion def onion
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h