Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4572511F5B for ; Sun, 11 May 2014 08:40:42 +0000 (UTC) Received: (qmail 24631 invoked by uid 500); 10 May 2014 21:59:48 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 94496 invoked by uid 500); 10 May 2014 21:57:56 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 76375 invoked by uid 99); 10 May 2014 21:57:01 -0000 Received: from Unknown (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 May 2014 21:57:01 +0000 Date: Sat, 10 May 2014 21:57:01 +0000 (UTC) From: "T Jake Luciani (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-7196) "Select" query with "IN" restriction times out in CQLSH MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-7196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13993744#comment-13993744 ] T Jake Luciani commented on CASSANDRA-7196: ------------------------------------------- Looks like it's caused by the offheap pooled netty allocator {code} public abstract class CBUtil { public static final ByteBufAllocator allocator = new PooledByteBufAllocator(true); {code} If you change true to false it starts working again > "Select" query with "IN" restriction times out in CQLSH > ------------------------------------------------------- > > Key: CASSANDRA-7196 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7196 > Project: Cassandra > Issue Type: Bug > Reporter: Mikhail Stepura > Assignee: T Jake Luciani > Labels: regression > Fix For: 2.1 rc1 > > Attachments: 7196-v2.txt, 7196-v3.txt, 7196.txt, init_bug.cql > > > I've noticed that {{pylib.cqlshlib.test.test_cqlsh_output.TestCqlshOutput#test_numeric_output}} tests fails on the current 2.1 branch, which wasn't the case before. > Here are the steps to reproduce. I'm attaching the script to populate schema. > {code} > mstepura-mac:cassandra mikhail$ bin/cqlsh -f /init_bug.cql > mstepura-mac:cassandra mikhail$ bin/cqlsh > Connected to Test Cluster at 127.0.0.1:9042. > [cqlsh 5.0.0 | Cassandra 2.1.0-beta2-SNAPSHOT | CQL spec 3.1.6 | Native protocol v2] > Use HELP for help. > cqlsh> use test; > cqlsh:test> select intcol, bigintcol, varintcol from has_all_types where num in (0, 1, 2, 3, 4); > errors={}, last_host=127.0.0.1 > cqlsh:test> > {code} > That works perfectly on 2.0 branch. And there are no errors in the logs. -- This message was sent by Atlassian JIRA (v6.2#6252)