ERROR When uploading configset

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ERROR When uploading configset

massimiliano.tarquini
Hi all,
i'm experiencing a probklem when uploading a new configset on a Solr
ionstance running in cloud mode.

The problem seems to be related to the synonyms.txt file size: if >
1,5 M Solr returns an error:

  adding: synonyms.txt (deflated 76%)
{
  "responseHeader":{
    "status":500,
    "QTime":24325},
  "error":{
    "msg":"KeeperErrorCode = ConnectionLoss for
/configs/pvee/synonyms.txt",


Since my file size is about 6M how can i amend this problem?

Regards


Reply | Threaded
Open this post in threaded view
|

Re: ERROR When uploading configset

Erick Erickson
https://zookeeper.apache.org/doc/r3.4.6/zookeeperAdmin.html
See the jute.maxbuffer sysvar.

That said, having 6M of synonym file is suspect. Remember that each
and every core will have to download this file on startup. Solr
intentionally limited the  defalut value here so that you have to
override the defaults and are aware that large files in ZK will have
consequences.

Best,
Erick
On Tue, Dec 4, 2018 at 8:30 PM <[hidden email]> wrote:

>
> Hi all,
> i'm experiencing a probklem when uploading a new configset on a Solr
> ionstance running in cloud mode.
>
> The problem seems to be related to the synonyms.txt file size: if >
> 1,5 M Solr returns an error:
>
>   adding: synonyms.txt (deflated 76%)
> {
>   "responseHeader":{
>     "status":500,
>     "QTime":24325},
>   "error":{
>     "msg":"KeeperErrorCode = ConnectionLoss for
> /configs/pvee/synonyms.txt",
>
>
> Since my file size is about 6M how can i amend this problem?
>
> Regards
>
>