Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Workaround
-
None
-
None
-
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
Attachments
Issue Links
- is related to
-
SOLR-4793 Solr Cloud can't upload large config files ( > 1MB) to Zookeeper
- Closed
- relates to
-
SOLR-11250 Add new LTR model which loads the model definition from the external resource
- Closed
-
SOLR-12590 Improve Solr resource loader coverage in the ref guide
- Closed