[ 
https://issues.apache.org/jira/browse/SOLR-13565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16889718#comment-16889718
 ] 

Tomoko Uchida commented on SOLR-13565:
--------------------------------------

Hi,
I noticed that {{precommit}} failed (on branch_8x) because of a class which 
seems to be added by this issue.?

{code}
 [ecj-lint] 4. ERROR in 
/mnt/hdd/repo/lucene-solr-mirror/solr/core/src/java/org/apache/solr/core/LibListener.java
 (at line 82)
 [ecj-lint]     return klas.getConstructor(null).newInstance();
 [ecj-lint]            ^^^^^^^^^^^^^^^^^^^^^^^^^
 [ecj-lint] Type null of the last argument to method 
getConstructor(Class<?>...) doesn't exactly match the vararg parameter type. 
Cast to Class<?>[] to confirm the non-varargs invocation, or pass individual 
arguments of type Class<?> for a varargs invocation.
{code}

> 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
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Custom components to be loaded at a CorContainer level
> How to configure this?
> {code:json}
> 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.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to