zookeeper-cpp
ZooKeeper Client for C++
|
An error occurred while marshalling data. More...
#include <zk/error.hpp>
Additional Inherited Members | |
Public Member Functions inherited from zk::transport_error | |
transport_error (error_code code, const std::string &description) | |
Public Member Functions inherited from zk::error | |
error (error_code code, const std::string &description) | |
error_code | code () const |
The code representation of this error. More... | |
An error occurred while marshalling data.
The most common cause of this is exceeding the Jute buffer size – meaning the transaction was too large (check the server logs for messages containing "Unreasonable length"
). If that is the case, the solution is to change jute.maxbuffer
on all servers (see the ZooKeeper Administrator's Guide for more information and a stern warning). Another possible cause is the system running out of memory, but due to overcommit, OOM issues rarely manifest so cleanly.