You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Noble Paul (Jira)" <ji...@apache.org> on 2019/08/27 05:18:00 UTC

[jira] [Created] (SOLR-13722) A cluster-wide upload package option

Noble Paul created SOLR-13722:
---------------------------------

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


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.

 

 



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

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