dsmiley opened a new pull request #1972:
URL: https://github.com/apache/lucene-solr/pull/1972


   And enhanced gradle config to operate as an application
   https://issues.apache.org/jira/browse/SOLR-14915
   
   It's cool that I can now run this thing via `gw run` :-)
   The Java-Application plugin for Gradle has other nice distribution 
facilities that render our attempts to hand-edit startup scripts obsolete.  
However, using it would mean a much larger Solr distribution as it'd have 
duplicated libs that Solr has.  Any way, it's nice to leave here for people who 
might want to activate it manually.
   
   As-is there is something not quite right.  I modified the solr-exporter bash 
script to not add all of the Solr server libs to the classpath.  However, the 
assembly task only populates a small number of dependencies into the "lib" 
here.  In particular I don't see transitive dependencies such as Jackson (used 
by jackson-jq).    @dweiss do you have suggestions here?  Alternatively, I 
could remove my changes to solr-exporter scripts and accept that they are going 
to add a ton more dependencies than actually needed.  That's okay.
   
   
`lucene-solr/solr/packaging/build/solr-9.0.0-SNAPSHOT/contrib/prometheus-exporter`
   ```
   ├── bin
   │   ├── main
   │   ├── solr-exporter
   │   ├── solr-exporter.cmd
   │   └── test
   ├── conf
   │   ├── grafana-solr-dashboard.json
   │   └── solr-exporter-config.xml
   └── lib
       ├── argparse4j-0.8.1.jar
       ├── disruptor-3.4.2.jar
       ├── jackson-jq-0.0.8.jar
       ├── simpleclient-0.2.0.jar
       ├── simpleclient_common-0.2.0.jar
       └── simpleclient_httpserver-0.2.0.jar
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to