[ https://issues.apache.org/jira/browse/SOLR-16659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17707451#comment-17707451 ]
Jan Høydahl commented on SOLR-16659: ------------------------------------ [~defonion] feel free to ask if you need some guidance.. > DistribPackageStore.distribute may alter node name > -------------------------------------------------- > > Key: SOLR-16659 > URL: https://issues.apache.org/jira/browse/SOLR-16659 > Project: Solr > Issue Type: Bug > Components: Package Manager > Affects Versions: 9.1.1 > Reporter: def onion > Assignee: Ishan Chattopadhyaya > Priority: Minor > > 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 > |https://github.com/apache/solr/blob/08e4591fd7f6f92c3dc42b4b1f334a960358fa4e/solr/core/src/java/org/apache/solr/filestore/DistribPackageStore.java#L365]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": > {code:java} > 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) > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org