when we upload conf file to zookeper we get the error - the .....xml weights 1095kb , which is more than zookeeper can have by default (1024kb)
so we decided to increase the ZNode size ( the default is limited to 1MB )
according to the article - https://community.hortonworks.com/content/supportkb/150660/error-javaioioexception-len-error-in-zook...
we set the following ( in order to support the 1095Kb size )
in zookeeper-env template , ( ambari zookeeper CONFIG )
is this correct actions ?
Zookeeper is not designed as a large data store to hold very large data values. As such this 1MB value is a default config option and can be overridden.
It is NOT advised to do so but increasing the size a little bit will probably not damage your system it all depends on your unique access patterns and these changes should be made with care and at your own risk!
The parameter to change is CAUTION as reiterated above
thank you Geoffrey , as I mentioned we want to increase only 0.1M to this value , as you said this isn't much , and we hope this will cause any issues
can you approve my syntax in zookeeper-env template in ambari?
or maybe you have some remarks ?
That looks good. Caution the system property must be set on all servers and clients otherwise problems will arise. This is really a sanity check.
ZooKeeper you will run into issues as soon as one of your clients (eg Solr) wants to do something with that file. Thus, you need to set jute.maxbuffer for your clients as well.
Geoffrey as I understand if I set the variable - export JAVA_OPTS="-Djute.maxbuffer=11000000"
In ambari GUI ( as --> zookeper --> CONFIG --> zookeeper-env template )
then click on save and restart the service
then it will be affected all zookeeper servers - am I right ?
so no need to set it separate on each server,,
how to validate that ? , I mean after I set in ambari "export JAVA_OPTS="-Djute.maxbuffer=11000000"
and restart the zoo service then how to verify this seting is affected ?
any way from some CLI to check that Djute.maxbuffer=11000000 ?
ps -ef | grep maxbuffer
but no output,
any suggestion how to validate the settings?