You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2019/07/02 10:14:00 UTC
[jira] [Updated] (SOLR-13565) Node level runtime libs loaded from
remote urls
[ https://issues.apache.org/jira/browse/SOLR-13565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Noble Paul updated SOLR-13565:
------------------------------
Description:
All components loaded in CoreContainer like, AuthenticationPlugin, AuthorizationPlugin, CollectionHandler, InfoHandler etc etc can have access to this classloader.
How to configure this?
{code:java}
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
{code}
How to update your jars?
{code:json}
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
{code}
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.
was:
All components loaded in CoreContainer like, AuthenticationPlugin, AuthorizationPlugin, CollectionHandler, InfoHandler etc etc can have access to this classloader.
How to configure this?
{code:java}
curl -X POST -H 'Content-type:application/json' --data-binary '
{
"set-obj-property": {
"runtimeLib" : {
"lib-name" : {
"url" : "http://host:port/url/of/jar"
"sha512":"<the-sha512>"
}
}
}
}' http://localhost:8983/api/cluster
{code}
How to update your jars?
{code:java}
curl -X POST -H 'Content-type:application/json' --data-binary '
{
"set-obj-property": {
"runtimeLib" : {
"lib-name" : {
"url" : "http://host:port/url/of/new/jar"
"sha512":"<new-sha512>"
}
}
}
}' http://localhost:8983/api/cluster
{code}
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.
> Node level runtime libs loaded from remote urls
> -----------------------------------------------
>
> Key: SOLR-13565
> URL: https://issues.apache.org/jira/browse/SOLR-13565
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Noble Paul
> Assignee: Noble Paul
> Priority: Major
>
> All components loaded in CoreContainer like, AuthenticationPlugin, AuthorizationPlugin, CollectionHandler, InfoHandler etc etc can have access to this classloader.
> How to configure this?
> {code:java}
> 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
> {code}
> How to update your jars?
> {code:json}
> 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
> {code}
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org