You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/07/02 10:12:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16876839#comment-16876839 ]
ASF subversion and git services commented on SOLR-13565:
--------------------------------------------------------
Commit e7ac8012becbcc7c9160b615ebf67b8fecf93077 in lucene-solr's branch refs/heads/jira/SOLR-13565 from Noble Paul
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=e7ac801 ]
SOLR-13565: initial commit
> 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 '
> {
> "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.
--
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