Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C27C2102F0 for ; Thu, 18 Apr 2013 08:05:31 +0000 (UTC) Received: (qmail 58144 invoked by uid 500); 18 Apr 2013 08:05:29 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 58096 invoked by uid 500); 18 Apr 2013 08:05:28 -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 58063 invoked by uid 99); 18 Apr 2013 08:05:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Apr 2013 08:05:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a81.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Apr 2013 08:05:21 +0000 Received: from homiemail-a81.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a81.g.dreamhost.com (Postfix) with ESMTP id AC943A8076 for ; Thu, 18 Apr 2013 01:05:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h= content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; s= thelastpickle.com; bh=5ZWOp8U2hcqC2QWeZT5JPbfdGrM=; b=iQL+bJD1EJ DxsHtaZgh/HBHl6nt86zwo6ebbKCnBV1z58SRPXQLK4Mup/bd7LXpsJ3ho/DVDcZ O8bt4kUSktMoQQDhJKVaS79aZUBPMj4Udzxa+fDbTjYvJshJur3LVnrDMd6SyKB8 6gDhaLzrsNKbG9Xd8G7iYM2S0EsXx8hdM= Received: from [172.16.1.8] (unknown [203.86.207.101]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a81.g.dreamhost.com (Postfix) with ESMTPSA id 5AC3DA806E for ; Thu, 18 Apr 2013 01:05:01 -0700 (PDT) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: From: aaron morton In-Reply-To: Date: Thu, 18 Apr 2013 20:05:00 +1200 Content-Transfer-Encoding: quoted-printable Message-Id: <416B9FAE-78E6-4E96-91AE-C29F0CA8A065@thelastpickle.com> References: To: user@cassandra.apache.org X-Mailer: Apple Mail (2.1499) X-Virus-Checked: Checked by ClamAV on apache.org > ERROR 08:40:42,684 Error occurred during processing of message. > java.lang.StringIndexOutOfBoundsException: String index out of range: = -214741811 > 1 > at java.lang.String.checkBounds(String.java:397) > at java.lang.String.(String.java:442) > at = org.apache.thrift.protocol.TBinaryProtocol.readString(TBinaryProtocol > .java:339) > at = org.apache.cassandra.thrift.Cassandra$batch_mutate_args.read(Cassandr This is an error when the server is trying to read what the client has = sent.=20 > Is this caused due to my application putting any corrupted data? Looks that way. What client are you using ?=20 Cheers ----------------- Aaron Morton Freelance Cassandra Consultant New Zealand @aaronmorton http://www.thelastpickle.com On 18/04/2013, at 3:21 PM, Ertio Lew wrote: > I run cassandra on single win 8 machine for development needs. = Everything has been working fine for several months but just today I = saw this error message in cassandra logs & all host pools were marked = down. >=20 >=20 > ERROR 08:40:42,684 Error occurred during processing of message. > java.lang.StringIndexOutOfBoundsException: String index out of range: = -214741811 > 1 > at java.lang.String.checkBounds(String.java:397) > at java.lang.String.(String.java:442) > at = org.apache.thrift.protocol.TBinaryProtocol.readString(TBinaryProtocol > .java:339) > at = org.apache.cassandra.thrift.Cassandra$batch_mutate_args.read(Cassandr > a.java:18958) > at = org.apache.cassandra.thrift.Cassandra$Processor$batch_mutate.process( > Cassandra.java:3441) > at = org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.jav > a:2889) > at = org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run > (CustomTThreadPoolServer.java:187) > at = java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec > utor.java:886) > at = java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor > .java:908) > at java.lang.Thread.run(Thread.java:662)=20 >=20 >=20 > After restarting the server everything again worked fine. > I am curious to know what is this related to. Is this caused due to my = application putting any corrupted data? >=20 >=20