Noble Paul created SOLR-13565:
---------------------------------

             Summary: 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


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




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