incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Zlatanov <...@lifelogs.com>
Subject out of memory error on malformed Thrift protocol
Date Fri, 13 Nov 2009 19:52:40 GMT
The sequence to trigger the bug:

1) telnet to port 9160

2) type:

s
s

(two letter+RET combinations)

This reliably generates the error below.  I did not debug further or try
to fix it because it seems to be a Thrift issue.

ERROR - Fatal exception in thread Thread[pool-1-thread-1,5,main]
java.lang.OutOfMemoryError: Java heap space
	at org.apache.thrift.protocol.TBinaryProtocol.readStringBody(TBinaryProtocol.java:296)
	at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:203)
	at org.apache.cassandra.service.Cassandra$Processor.process(Cassandra.java:614)
	at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:253)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:619)

Thanks
Ted


Mime
View raw message