Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13565

Node level runtime libs loaded from remote urls

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • None
    • None
    • None

    Description

      Custom components to be loaded at a CorContainer level

      How to configure this?

      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
      

      How to update your jars?

      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
      

      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.

      Attachments

        Issue Links

          Activity

            People

              noble.paul Noble Paul
              noble.paul Noble Paul
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m