Change to using the curator framework
http://curator.incubator.apache.org/
Caused by: java.lang.OutOfMemoryError: Direct buffer memory
at java.nio.Bits.reserveMemory(Unknown Source)
at java.nio.DirectByteBuffer.<init>(Unknown Source)
at java.nio.ByteBuffer.allocateDirect(Unknown Source)
at org.apache.zookeeper.ClientCnxn$SendThread.<init>(ClientCnxn.java:696)
at org.apache.zookeeper.ClientCnxn.<init>(ClientCnxn.java:395)
at org.apache.zookeeper.ClientCnxn.<init>(ClientCnxn.java:331)
at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:377)
at org.streams.commons.zookeeper.ZConnection._connect(ZConnection.java:134)
at org.streams.commons.zookeeper.ZConnection.get(ZConnection.java:69)
at org.streams.commons.zookeeper.ZGroup.getZK(ZGroup.java:240)
at org.streams.commons.zookeeper.ZGroup.listStatus(ZGroup.java:132)
Original issue reported on code.google.com by gerritjvv@gmail.com on 2 Jun 2013 at 12:00
Original issue reported on code.google.com by
gerritjvv@gmail.com
on 2 Jun 2013 at 12:00