Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 93401 invoked from network); 13 Nov 2009 19:57:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Nov 2009 19:57:07 -0000 Received: (qmail 86454 invoked by uid 500); 13 Nov 2009 19:57:07 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 86432 invoked by uid 500); 13 Nov 2009 19:57:07 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 86423 invoked by uid 99); 13 Nov 2009 19:57:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Nov 2009 19:57:07 +0000 X-ASF-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 209.85.218.210 as permitted sender) Received: from [209.85.218.210] (HELO mail-bw0-f210.google.com) (209.85.218.210) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Nov 2009 19:57:04 +0000 Received: by bwz2 with SMTP id 2so4918793bwz.20 for ; Fri, 13 Nov 2009 11:56:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=g0vKhtwNOLgJ6pXsOgLqgG/GZkRzZ8ubpEAe9sWt1vc=; b=lnAFQAelFmbvo/gV1QZ5aBkP0u2e0COxpvdpSWC3EcdU25xvpXoMg8k8xk88henh2M zG1RXoR2qccOnrHbo33j5gfQZ8r1skCz1Q3YlGV1PJAZHLbMo4pb9sT6AnSiNJUH0w6d VaaNpu83K/LSdWh/NOw61Bo2xOTkf6pLyMDrQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=sckwjolpfqJ+BMR6WD7WqzQTpOjG6XCimTIM/YxLDFOYYojZiegZwYQ922kiLA5t93 3MtU7TEeR8mY8w4xrrTXSDa8oB3YAJqlRWCmWgTO/sV3Cac/sn67rPqBzNmq0eqfTwsD ck/P+XpAYRTsaKAMTVTmdT3f4N1aD/6zsN9gI= MIME-Version: 1.0 Received: by 10.216.85.68 with SMTP id t46mr89201wee.114.1258142203135; Fri, 13 Nov 2009 11:56:43 -0800 (PST) In-Reply-To: <87zl6qjj7b.fsf@lifelogs.com> References: <87zl6qjj7b.fsf@lifelogs.com> From: Jonathan Ellis Date: Fri, 13 Nov 2009 13:56:23 -0600 Message-ID: Subject: Re: out of memory error on malformed Thrift protocol To: cassandra-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable you are correct: https://issues.apache.org/jira/browse/CASSANDRA-475 https://issues.apache.org/jira/browse/THRIFT-601 2009/11/13 Ted Zlatanov : > 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. =A0I did not debug further or tr= y > 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 > =A0 =A0 =A0 =A0at org.apache.thrift.protocol.TBinaryProtocol.readStringBo= dy(TBinaryProtocol.java:296) > =A0 =A0 =A0 =A0at org.apache.thrift.protocol.TBinaryProtocol.readMessageB= egin(TBinaryProtocol.java:203) > =A0 =A0 =A0 =A0at org.apache.cassandra.service.Cassandra$Processor.proces= s(Cassandra.java:614) > =A0 =A0 =A0 =A0at org.apache.thrift.server.TThreadPoolServer$WorkerProces= s.run(TThreadPoolServer.java:253) > =A0 =A0 =A0 =A0at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(= ThreadPoolExecutor.java:886) > =A0 =A0 =A0 =A0at java.util.concurrent.ThreadPoolExecutor$Worker.run(Thre= adPoolExecutor.java:908) > =A0 =A0 =A0 =A0at java.lang.Thread.run(Thread.java:619) > > Thanks > Ted > >