In my case I have:  

- Zookeeper: a file into conf folder named zookeeper-env.sh with:

#!/usr/bin/env bash

ZOO_ENV="-Djute.maxbuffer=10485761"

The zookeeper-env.sh is loaded automatically by the zkEnv.sh if the file 
exists.  

- Solr: the "-Djute.maxbuffer=10485761" param in start command

--  
Yago Riveiro
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


On Thursday, November 28, 2013 at 10:24 AM, Puneet Pawaia wrote:

> Hi
>  
> Managed to get it working by adding -Djute.maxbuffer=5242880 to
> zkServer.sh (http://zkServer.sh), zkCli.sh (http://zkCli.sh) and solr startup 
> command.
>  
> Please let me know if this value for jute.maxbuffer is within acceptable
> limits
>  
> Regards
> Puneet
>  
>  
> On Thu, Nov 28, 2013 at 6:40 AM, Puneet Pawaia <puneet.paw...@gmail.com 
> (mailto:puneet.paw...@gmail.com)>wrote:
>  
> > I am running an ensemble.
> > Can I get examples of how to use the option? I think there are not many
> > examples available of the exact usage.
> >  
> > Regards
> > Puneet
> > On 27 Nov 2013 23:23, "Yago Riveiro" <yago.rive...@gmail.com 
> > (mailto:yago.rive...@gmail.com)> wrote:
> >  
> > > How are you launching Solr?
> > >  
> > > Do you have an ensemble or you're running zookeeper embedded?
> > >  
> > > Yes, doc says that jute.maxbuffer is dangerous, but without it you can
> > > stored nothing with more than 1M in zookeeper … and in some point you can
> > > have a clusterstate.json with a size greater than 1M
> > > --
> > > Yago Riveiro
> > > Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
> > >  
> > >  
> > > On Wednesday, November 27, 2013 at 5:31 PM, Puneet Pawaia wrote:
> > >  
> > > > Yago, not sure if this is a good idea. Docs say this is dangerous stuff.
> > > >  
> > > > Anyway, not being a linux or java expert, I would appreciate if you
> > > could
> > > > point me to an implementation of this.
> > > >  
> > > > Regards
> > > > Puneet Pawaia
> > > > On 27 Nov 2013 22:54, "Yago Riveiro" <yago.rive...@gmail.com 
> > > > (mailto:yago.rive...@gmail.com) (mailto:
> > > >  
> > >  
> > > yago.rive...@gmail.com (mailto:yago.rive...@gmail.com))> wrote:
> > > >  
> > > > > You can use the jute.maxbuffer > 1M as a workaround.
> > > > >  
> > > > > You must set -Djute.maxbuffer in zookeeper and solr to work properly
> > > > >  
> > > > > --
> > > > > Yago Riveiro
> > > > > Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
> > > > >  
> > > > >  
> > > > > On Wednesday, November 27, 2013 at 5:15 PM, Puneet Pawaia wrote:
> > > > >  
> > > > > > Hi
> > > > > >  
> > > > > > I am trying to setup a test SolrCloud 4.5.1 implementation. My
> > > synonym
> > > > > file
> > > > > > is about 1.6 MB. When I try to add collection to ZooKeeper 3.4.5 on
> > > > >  
> > > > >  
> > > > > Ubuntu
> > > > > > 12.4, it fails because of the 1MB limit of ZooKeeper. Has anyone any
> > > > > > experience with using such synonym files? Can I store them in some
> > > > > >  
> > > > >  
> > > > >  
> > > >  
> > >  
> > > other
> > > > > > location other than the Config Folder since the config folder is
> > > > >  
> > > >  
> > >  
> > > loaded
> > > > > > into ZooKeeper.
> > > > > >  
> > > > > > TIA
> > > > > >  
> > > > > > Puneet Pawaia  

Reply via email to