zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Capriolo <edward.capri...@huffingtonpost.com>
Subject Documentation error in maxumum size of node
Date Thu, 15 Oct 2015 18:12:00 GMT
We are running  zookeeper-3.4.5

byte[] bytes = new byte[1048576];
   zookeeper.create("/test_max", bytes);

-> connection loss exception

byte[] bytes = new byte[1048576-100];
   zookeeper.create("/test_max", bytes);
-> works
According to the documentation
http://zookeeper.apache.org/doc/r3.4.5/api/org/apache/zookeeper/ZooKeeper.html
The maximum allowable size of the data array is 1 MB (1,048,576 bytes).
Arrays larger than this will cause a KeeperExecption to be thrown.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message