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 2A63C1892C for ; Thu, 3 Sep 2015 14:08:46 +0000 (UTC) Received: (qmail 1435 invoked by uid 500); 3 Sep 2015 14:08:46 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 1405 invoked by uid 500); 3 Sep 2015 14:08:46 -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 1248 invoked by uid 99); 3 Sep 2015 14:08:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2015 14:08:45 +0000 Date: Thu, 3 Sep 2015 14:08:45 +0000 (UTC) From: "Sylvain Lebresne (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-10254) 3.0 paging states are incompatible with pre-3.0 nodes 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-10254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sylvain Lebresne updated CASSANDRA-10254: ----------------------------------------- Fix Version/s: 3.0.0 rc1 > 3.0 paging states are incompatible with pre-3.0 nodes > ----------------------------------------------------- > > Key: CASSANDRA-10254 > URL: https://issues.apache.org/jira/browse/CASSANDRA-10254 > Project: Cassandra > Issue Type: Bug > Reporter: Blake Eggleston > Fix For: 3.0.0 rc1 > > > When running the upgrade dtest {{TestCQL.static_columns_with_distinct_test}}, the client appears to be passing in an invalid paging state (no cell name). Instead of catching the problem in validation and returning an error to the client, the select statement tries to run it, causing this exception: > {noformat} > ERROR QueryMessage.java:135 - Unexpected error during query > java.lang.ClassCastException: org.apache.cassandra.db.composites.Composites$EmptyComposite cannot be cast to org.apache.cassandra.db.composites.CellName > at org.apache.cassandra.service.pager.SliceQueryPager.(SliceQueryPager.java:64) ~[main/:na] > at org.apache.cassandra.service.pager.MultiPartitionPager.makePager(MultiPartitionPager.java:93) ~[main/:na] > at org.apache.cassandra.service.pager.MultiPartitionPager.(MultiPartitionPager.java:75) ~[main/:na] > at org.apache.cassandra.service.pager.QueryPagers.pager(QueryPagers.java:102) ~[main/:na] > at org.apache.cassandra.service.pager.QueryPagers.pager(QueryPagers.java:126) ~[main/:na] > at org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:228) ~[main/:na] > at org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:67) ~[main/:na] > at org.apache.cassandra.cql3.QueryProcessor.processStatement(QueryProcessor.java:238) ~[main/:na] > at org.apache.cassandra.cql3.QueryProcessor.process(QueryProcessor.java:260) ~[main/:na] > at org.apache.cassandra.transport.messages.QueryMessage.execute(QueryMessage.java:122) ~[main/:na] > at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:439) [main/:na] > at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:335) [main/:na] > at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [netty-all-4.0.23.Final.jar:4.0.23.Final] > at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [netty-all-4.0.23.Final.jar:4.0.23.Final] > at io.netty.channel.AbstractChannelHandlerContext.access$700(AbstractChannelHandlerContext.java:32) [netty-all-4.0.23.Final.jar:4.0.23.Final] > at io.netty.channel.AbstractChannelHandlerContext$8.run(AbstractChannelHandlerContext.java:324) [netty-all-4.0.23.Final.jar:4.0.23.Final] > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_40] > at org.apache.cassandra.concurrent.AbstractTracingAwareExecutorService$FutureTask.run(AbstractTracingAwareExecutorService.java:164) [main/:na] > at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) [main/:na] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40] > {noformat} > Running {code} UPGRADE_MODE=none nosetests upgrade_tests/cql_tests.py:TestCQL.static_columns_with_distinct_test{code} should cause the error. -- This message was sent by Atlassian JIRA (v6.3.4#6332)