[ 
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 '
{
  "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.

  was:
All components loaded in CoreContainer like, AuthenticationPlugin, 
AuthorizationPlugin, CollectionHandler, InfoHandler etc etc can have access to 
this classloader. 

How to configure this?

{code}
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}
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



> 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
>            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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to