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

Solr in cloud mode silently fails uploading a big LTR model

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Workaround
    • Affects Version/s: None
    • Fix Version/s: 7.2, 8.0
    • Component/s: contrib - LTR
    • Labels:
      None
    • Environment:

      tested with Solr 6.6 an integrated zookeeper

      Description

      Hi,

      I'm using Solr in cloud mode, I have a MultipleAdditiveTreesModel with about 3MB in size. When I upload the model with

      curl -v -XPUT 'http://localhost:8983/solr/tmdb/schema/model-store' --data-binary @/big-tree.model -H 'Content-type:application/json'
      

      I get the following response

      {
        "responseHeader":{
          "status":0,
          "QTime":24318}
      }
      

      This looks kind of slow but without an error. When I check the config the model is not visible and when I try to run a query that uses the model I get the following error

      "error":{
          "metadata":[
            "error-class","org.apache.solr.common.SolrException",
            "root-error-class","org.apache.solr.common.SolrException"],
          "msg":"cannot find model bigTreeModel",
          "code":400}
      

      When I upload the model to solr where I increased the zookeeper znode size limit with

      -Djute.maxbuffer=0x1ffffff
      

      the same model upload succeeds much faster

      {
        "responseHeader":{
          "status":0,
          "QTime":689}
      }
      

      The model is visible in the configuration and queries that use it run without error.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stefan.langenmaier Stefan Langenmaier

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment