Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
-
None
Description
Custom components to be loaded at a CorContainer level
How to configure this?
curl -X POST -H 'Content-type:application/json' --data-binary ' { "add-runtimelib": { "name": "lib-name" , "url" : "http://host:port/url/of/jar", "sha512":"<the-sha512>" } }' http://localhost:8983/api/cluster
How to update your jars?
curl -X POST -H 'Content-type:application/json' --data-binary ' { "update-runtimelib": { "name": "lib-name" , "url" : "http://host:port/url/of/jar", "sha512":"<the-new-sha512>" } }' http://localhost:8983/api/cluster
This only loads the components used in CoreContainer and it does not need to restart the Solr node
The configuration lives in the file /clusterprops.json in ZK.
Attachments
Issue Links
- is related to
-
SOLR-13650 Support for named global classloaders
- Resolved
- relates to
-
SOLR-13564 Runtime libs loaded from remote URLs should be available to all components
- Resolved
-
SOLR-13534 Dynamic loading of jars from a url
- Resolved
-
SOLR-13637 Enable loading of plugins from the corecontainer memclassloader
- Resolved
-
SOLR-13553 Node level custom RequestHandlers
- Closed
- links to