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 7C3C810E0B for ; Fri, 14 Feb 2014 09:07:20 +0000 (UTC) Received: (qmail 44387 invoked by uid 500); 14 Feb 2014 09:07:17 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 44337 invoked by uid 500); 14 Feb 2014 09:07:17 -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 44329 invoked by uid 99); 14 Feb 2014 09:07:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Feb 2014 09:07:16 +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 (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [46.105.76.26] (HELO mo1.mail-out.ovh.net) (46.105.76.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Feb 2014 09:07:08 +0000 Received: from mail406.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo1.mail-out.ovh.net (Postfix) with SMTP id D8DDAFFCC7E for ; Fri, 14 Feb 2014 10:13:51 +0100 (CET) Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 14 Feb 2014 11:11:43 +0200 Received: from unknown (HELO elia.xerus.net?echo-net.net?x-echo.com?s1.p.fti.net) (cscetbon@atid.fr@193.252.149.222) by ns0.ovh.net with SMTP; 14 Feb 2014 11:11:41 +0200 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: TimedOutException in Java but not in cqlsh From: Cyril Scetbon In-Reply-To: <2909DC40-09CC-4B3F-8E77-A7C1B8A3AE7A@free.fr> Date: Fri, 14 Feb 2014 10:06:44 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <2909DC40-09CC-4B3F-8E77-A7C1B8A3AE7A@free.fr> To: user@cassandra.apache.org X-Mailer: Apple Mail (2.1827) X-Ovh-Tracer-Id: 15982430654163699670 X-Ovh-Remote: 193.252.149.222 () X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-OVH-SPAMSTATE: OK X-OVH-SPAMSCORE: 0 X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeejtddrjedvucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecu X-Spam-Check: DONE|U 0.5/N X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeejtddrkeekucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecu X-Virus-Checked: Checked by ClamAV on apache.org After a few tests, it does not depend on the query. Whatever cql3 query = I do, I always get the same exception. If someone sees something ... --=20 Cyril SCETBON On 13 Feb 2014, at 17:22, Cyril Scetbon wrote: > Hi, >=20 > I get a weird issue with cassandra 1.2.13. As written in the subject, = a query executed by class CqlPagingRecordReader raises a = TimedOutException exception in Java but I don't have any error when I = use it with cqlsh. What's the difference between those 2 ways ? Does = cqlsh bypass some configuration compared to Java ? >=20 > You can find my sample code at http://pastebin.com/vbAFyAys (don't = take care of the way it's coded cause it's just a sample code). FYI, I = can't reproduce it on another cluster. Here is the output of the 2 = different ways (java and cqlsh) I used http://pastebin.com/umMNXJRw >=20 > Thanks > --=20 > Cyril SCETBON >=20