aloosnetmatch commented on issue #760:
URL: https://github.com/apache/solr-operator/issues/760#issuecomment-2724592639

   Thanks for your reply.
   
   I looked up the requested info:
   
   This time I compared the PROD environment ( which runs solr operator 0.8.1 
and solr 9.7.0) 
   to the NONP environment ( which runs solr operator 0.9.0 and solr 9.8.0) 
   
   ```
   spec:
     solrReference:
       cloud:
         name: solr-cluster-netm
         namespace: netm-solr-operator
   ```
   We use the solrReference.
   So at one point ,I assume the solr operator, query's the solr cluster for 
the zookeeper info, which fails because of the error:
   
   ```
   ERROR - 2025-03-14 12:45:49.909; 
org.apache.solr.prometheus.exporter.SolrExporter; Must provide either 
--base-url or --zk-host
   Exception in thread "main" java.lang.NullPointerException: Cannot invoke 
"org.apache.solr.prometheus.exporter.SolrScrapeConfiguration.getType()" because 
"configuration" is null
        at 
org.apache.solr.prometheus.exporter.SolrExporter.createScraper(SolrExporter.java:127)
        at 
org.apache.solr.prometheus.exporter.SolrExporter.<init>(SolrExporter.java:90)
        at 
org.apache.solr.prometheus.exporter.SolrExporter.main(SolrExporter.java:336)
   ```
   
   
   
   The attached files for the solrprometheusexporter:
   
[solrprometheusexporter_nonp.txt](https://github.com/user-attachments/files/19247356/solrprometheusexporter_nonp.txt)
   
[solrprometheusexporter_prod.txt](https://github.com/user-attachments/files/19247355/solrprometheusexporter_prod.txt)
   
   also attached files for the  solrcloud specs:
   
[solrcloud_nonp.txt](https://github.com/user-attachments/files/19247487/solrcloud_nonp.txt)
   
[solrcloud_prod.txt](https://github.com/user-attachments/files/19247488/solrcloud_prod.txt)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to