Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 91842 invoked from network); 15 Jun 2010 20:41:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Jun 2010 20:41:04 -0000 Received: (qmail 79759 invoked by uid 500); 15 Jun 2010 20:41:03 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 79716 invoked by uid 500); 15 Jun 2010 20:41:03 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 79708 invoked by uid 99); 15 Jun 2010 20:41:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jun 2010 20:41:02 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gcdcu-cassandra-user-1@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jun 2010 20:40:55 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OOcvy-0001FH-CT for user@cassandra.apache.org; Tue, 15 Jun 2010 22:40:34 +0200 Received: from sbs.nextcentury.com ([71.179.165.114]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Jun 2010 22:40:34 +0200 Received: from julie.sugar by sbs.nextcentury.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Jun 2010 22:40:34 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: user@cassandra.apache.org connect(): No such file or directory From: Julie Subject: Re: java.lang.RuntimeException: java.io.IOException: Value too large =?utf-8?b?CWZvcg==?= defined data type Date: Tue, 15 Jun 2010 20:40:17 +0000 (UTC) Lines: 55 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 71.179.165.114 (Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.6) Gecko/20091216 Fedora/3.5.6-1.fc11 Firefox/3.5.6) X-Virus-Checked: Checked by ClamAV on apache.org Benjamin Black b3k.us> writes: > > You are likely exhausting your heap space (probably still at the very > small 1G default?), and maximizing the amount of resource consumption > by using CL.ALL. Why are you using ALL? > > On Tue, Jun 15, 2010 at 11:58 AM, Julie nextcentury.com> wrote: ... > > Coinciding with my write timeouts, all 10 of my cassandra servers are getting > > the following exception written to system.log: > > > > > >  INFO [FLUSH-WRITER-POOL:1] 2010-06-15 13:13:54,411 Memtable.java (line 162) > > Completed flushing /var/lib/cassandra/data/Keyspace1/Standard1-359-Data.db > > ERROR [MESSAGE-STREAMING-POOL:1] 2010-06-15 13:13:59,145 > > DebuggableThreadPoolExecutor.java (line 101) Error in ThreadPoolExecutor > > java.lang.RuntimeException: java.io.IOException: Value too large for defined > > data type > > at > > org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34) > > 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) > > Caused by: java.io.IOException: Value too large for defined data type > >        at sun.nio.ch.FileChannelImpl.transferTo0(Native Method) > >        at > > sun.nio.ch.FileChannelImpl.transferToDirectly(FileChannelImpl.java:415) > >        at sun.nio.ch.FileChannelImpl.transferTo(FileChannelImpl.java:516) > >        at > > org.apache.cassandra.net.FileStreamTask.stream(FileStreamTask.java:95) > >        at > > org.apache.cassandra.net.FileStreamTask.runMayThrow(FileStreamTask.java:63) > >        at > > org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30) > >        ... 3 more ... Thanks for your reply. Yes, my heap space is 1G. My vms have only 1.7G of memory so I hesitate to use more. I am using ALL because I was crashing cassandra when I used ZERO (posting from a few days ago) with a heap space error so it was recommended that I use ALL instead. I also tried using ONE but got even more write timeouts so I thought it would be safer to just wait for ALL replications to be written before trying to write more rows. Thank you for your help.