Forum: Building VoltDB Applications

Post: Large catalog.jar

Large catalog.jar
dl_zhenglp
Jun 14, 2012
Hi,
My catalog.jar is a little large, When i start cluster, i found the problem:

2012-06-14 08:48:27,467 WARN [NIOServerCxn.Factory:/127.0.0.1:2181] ZK-SERVER: Exception causing close of session 0x105bc40d30800000 due to java.io.IOException: Len error 2657408
2012-06-14 08:48:27,469 INFO [main-SendThread(localhost:2181)] ZK-CLIENT: Unable to read additional data from server sessionid 0x105bc40d30800000, likely server has closed socket, closing socket connection and attempting reconnect
2012-06-14 08:48:27,475 INFO [ZooKeeperServer] ZK-SERVER: Processed session termination for sessionid: 0x105bc40d30800000
2012-06-14 08:48:27,476 ERROR [ZooKeeperServer] ZK-SERVER: Unexpected Exception:
java.nio.channels.CancelledKeyException
at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:73)
at sun.nio.ch.SelectionKeyImpl.interestOps(SelectionKeyImpl.java:77)
at org.apache.zookeeper_voltpatches.server.NIOServerCnxn.sendBuffer(NIOServerCnxn.java:426)
at org.apache.zookeeper_voltpatches.server.NIOServerCnxn.sendResponse(NIOServerCnxn.java:1515)
at org.apache.zookeeper_voltpatches.server.NIOServerCnxn.process(NIOServerCnxn.java:1552)
at org.apache.zookeeper_voltpatches.server.WatchManager.triggerWatch(WatchManager.java:118)
at org.apache.zookeeper_voltpatches.server.WatchManager.triggerWatch(WatchManager.java:90)
at org.apache.zookeeper_voltpatches.server.DataTree.deleteNode(DataTree.java:582)
at org.apache.zookeeper_voltpatches.server.DataTree.killSession(DataTree.java:819)
at org.apache.zookeeper_voltpatches.server.DataTree.processTxn(DataTree.java:791)
at org.apache.zookeeper_voltpatches.server.ZKDatabase.processTxn(ZKDatabase.java:177)
at org.apache.zookeeper_voltpatches.server.ZooKeeperServer.executeRequest(ZooKeeperServer.java:875)
at org.apache.zookeeper_voltpatches.server.ZooKeeperServer.prepRequest(ZooKeeperServer.java:846)
at org.voltcore.agreement.AgreementSite.run(AgreementSite.java:303)
at org.apache.zookeeper_voltpatches.server.ZooKeeperServer.run(ZooKeeperServer.java:1199)
at java.lang.Thread.run(Thread.java:679)
Can you help me?
Attach file
dl_zhenglp
Jun 14, 2012
Attachment
Hi, If you start the server
aweisberg
Jun 14, 2012
Hi,
If you start the server with -Djute.maxbuffer=51380224 it should get you past that error. I am working on a test case and will update the constant so you don't need to override the value.
Ariel
Hi,Sorry I was wrong.
aweisberg
Jun 14, 2012
Hi,
Sorry I was wrong. Apparently it is broken on multiple levels. https://issues.voltdb.com/browse/ENG-2757
If you fix this you will still run into issues updating the catalog.
I brought the issue up and we will size it this week.
Do you know what is making the catalog so large? Normally it isn't an issue because it compresses well.
Ariel
Large catalog.jar
dl_zhenglp
Jun 14, 2012
Hi,
Thank you for always help.
Bucause the project have a lot of procedures, we need to compile all of them.
We'll use your provided method, and then wait for the new patch publish.
Zheng