incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Greene <michael.gre...@gmail.com>
Subject Re: out of memory error on malformed Thrift protocol
Date Fri, 13 Nov 2009 19:57:38 GMT
This is a know issue and is out of Cassandra's specific hands.  The
Thrift issue is: http://issues.apache.org/jira/browse/THRIFT-601
The temporary workaround is "don't send random data to your Cassandra instance."

Michael

2009/11/13 Ted Zlatanov <tzz@lifelogs.com>:
> 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