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

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

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

Jinglun (Jira)
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
curl -X POST -H 'Content-Type: application/octet-stream' --data-binary @myjar.jar http://localhost:8983/api/cluster/package/mypkg
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

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