lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Langenmaier (JIRA)" <>
Subject [jira] [Commented] (SOLR-11049) Solr in cloud mode silently fails uploading a big LTR model
Date Wed, 02 Aug 2017 08:26:00 GMT


Stefan Langenmaier commented on SOLR-11049:

Thanks for the pointers, but I seem to be a little bit lost. According to the documentation
"[the blob store] can be used to upload a jar file which contains standard solr components
such as RequestHandlers, SearchComponents, or other custom code you have written for Solr."

While the LTR model is used in request hanlders, as far as I understand it, it is uploaded
and created through another mechanism and then Solr is repsonsible for storing it.

I dont see yet how this is supposed to work.

> Solr in cloud mode silently fails uploading a big LTR model
> -----------------------------------------------------------
>                 Key: SOLR-11049
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: contrib - LTR
>         Environment: tested with Solr 6.6 an integrated zookeeper
>            Reporter: Stefan Langenmaier
>         Attachments: SOLR-11049.patch
> Hi,
> I'm using Solr in cloud mode, I have a MultipleAdditiveTreesModel with about 3MB in size.
When I upload the model with
> {noformat}
> curl -v -XPUT 'http://localhost:8983/solr/tmdb/schema/model-store' --data-binary @/big-tree.model
-H 'Content-type:application/json'
> {noformat}
> I get the following response
> {code:html}
> {
>   "responseHeader":{
>     "status":0,
>     "QTime":24318}
> }
> {code}
> 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
> {code:html}
> "error":{
>     "metadata":[
>       "error-class","org.apache.solr.common.SolrException",
>       "root-error-class","org.apache.solr.common.SolrException"],
>     "msg":"cannot find model bigTreeModel",
>     "code":400}
> {code}
> When I upload the model to solr where I increased the zookeeper znode size limit with
> {noformat}
> -Djute.maxbuffer=0x1ffffff
> {noformat}
> the same model upload succeeds much faster
> {code:html}
> {
>   "responseHeader":{
>     "status":0,
>     "QTime":689}
> }
> {code}
> The model is visible in the configuration and queries that use it run without error.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message