[ 
https://issues.apache.org/jira/browse/SOLR-13722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Noble Paul updated SOLR-13722:
------------------------------
    Description: 
This ticket totally eliminates the need for an external service to host the 
jars. So a url will no longer be required.

 
 Add a jar to cluster as follows
{code:java}
curl -X POST -H 'Content-Type: application/octet-stream' --data-binary 
@myjar.jar http://localhost:8983/api/cluster/blob
{code}
This does the following operations
 * Upload this jar to all the live nodes in the system

 

Subsequently, when a node is started, it tries to get all the available blobs 
from one of the live nodes where it is available.

 

 

  was:
This ticket totally eliminates the need for an external service to host the 
jars. So a url will no longer be required.

 
Add a jar to cluster as follows
{code:java}
curl -X POST -H 'Content-Type: application/octet-stream' --data-binary 
@myjar.jar http://localhost:8983/api/cluster/package/mypkg
{code}
This does the following operations
 * Check if a package {{mypkg}} is already available , if yes , it is 
equivalent to an {{update-package}} command. if not, this is like an 
{{add-package}}
 * Upload this jar to all the live nodes in the system
 * Creates a package called {{mypkg}} with appropriate sha256

the end-point {{/api/cluster/package}} to list all the available packages

Subsequently, when a node is started, it tries to get all the available 
packages from one of the live nodes where it is available.

 

 


> A cluster-wide upload package option
> ------------------------------------
>
>                 Key: SOLR-13722
>                 URL: https://issues.apache.org/jira/browse/SOLR-13722
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Noble Paul
>            Priority: Major
>
> This ticket totally eliminates the need for an external service to host the 
> jars. So a url will no longer be required.
>  
>  Add a jar to cluster as follows
> {code:java}
> curl -X POST -H 'Content-Type: application/octet-stream' --data-binary 
> @myjar.jar http://localhost:8983/api/cluster/blob
> {code}
> This does the following operations
>  * Upload this jar to all the live nodes in the system
>  
> Subsequently, when a node is started, it tries to get all the available blobs 
> from one of the live nodes where it is available.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to