I'm seeing an error that I suspect is due to me trying to put to big a blob a data into a node. Can anyone confirm? (version 3.1.1)
On the client, I see this when trying to write a node with 7,641,662 bytes: 2009-06-03 16:57:44,583 INFO [Serializer] bytes=7641662 2009-06-03 16:57:44,662 WARN [ClientCnxn] Exception closing session 0x221a6c01c300001 to sun.nio.ch.selectionkeyi...@56fedc56 java.io.IOException: Read error rc = -1 java.nio.DirectByteBuffer[pos=0 lim=4 cap=4] at org.apache.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:632) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:876) 2009-06-03 16:57:44,663 WARN [ClientCnxn] Ignoring exception during shutdown input java.net.SocketException: Transport endpoint is not connected at sun.nio.ch.SocketChannelImpl.shutdown(Native Method) at sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:640) at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:360) at org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:930) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:901) 2009-06-03 16:57:44,663 WARN [ClientCnxn] Ignoring exception during shutdown output java.net.SocketException: Transport endpoint is not connected at sun.nio.ch.SocketChannelImpl.shutdown(Native Method) at sun.nio.ch.SocketChannelImpl.shutdownOutput(SocketChannelImpl.java:651) at sun.nio.ch.SocketAdaptor.shutdownOutput(SocketAdaptor.java:368) at org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:935) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:901) 2009-06-03 16:57:44,767 ERROR org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss at org.apache.zookeeper.KeeperException.create(KeeperException.java:90) at org.apache.zookeeper.KeeperException.create(KeeperException.java:42) at org.apache.zookeeper.ZooKeeper.create(zookeeper:ZooKeeper.java):518) On the server I see this: 2009-06-03 16:57:44,662 - WARN [NIOServerCxn.Factory:2181:nioserverc...@417] - Exception causing close of session 0x221a6c01c300001 due to java.io.IOException: Len error 7641735 2009-06-03 16:57:44,663 - INFO [NIOServerCxn.Factory:2181:nioserverc...@752] - closing session:0x221a6c01c300001 NIOServerCnxn: java.nio.channels.SocketChannel[connected local=/192.168.123.226:2181 remote=/192.168.123.210:60213] $ 2009-06-03 16:59:46,761 - INFO [NIOServerCxn.Factory:2181:nioserverc...@503] - Connected to /192.168.123.210:51272 lastZxid 189 I'm able to write other things without a problem, but when I try to write this pretty big thing, it barfs. Any help much appreciated... Thanks, Eric -- Eric Bowman Boboco Ltd ebow...@boboco.ie http://www.boboco.ie/ebowman/pubkey.pgp +35318394189/+353872801532