gerritjvv / bigstreams

bigstreams big data kafka hadoop and file based imports
Eclipse Public License 1.0
3 stars 3 forks source link

Change zookeeper client ZK is using DirectByteBuffer #78

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
moved to the curator framework.

Original comment by gerritjvv@gmail.com on 2 Jul 2013 at 5:15