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 4659A17C53 for ; Sun, 12 Oct 2014 22:00:20 +0000 (UTC) Received: (qmail 65988 invoked by uid 500); 12 Oct 2014 22:00:17 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 65942 invoked by uid 500); 12 Oct 2014 22:00: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 65692 invoked by uid 99); 12 Oct 2014 22:00:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Oct 2014 22:00:17 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of doanduyhai@gmail.com designates 209.85.218.50 as permitted sender) Received: from [209.85.218.50] (HELO mail-oi0-f50.google.com) (209.85.218.50) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Oct 2014 22:00:08 +0000 Received: by mail-oi0-f50.google.com with SMTP id i138so11426431oig.23 for ; Sun, 12 Oct 2014 14:59:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=cQRAjwXIqxeby4r0I3GBuFku+CzScpJif72ozg5lv80=; b=JaZuMJE2XeimmdSv3MXYvZEilX9tDskzMQ4611NV3fmY8ZrxRSm4w2XOLzP4uQR15R FF9efFmltvCHzZtB/xTfmnOG1BpNkfNsJp9Jif6SS/V6d059f6L95R8055V7a0/bt1ky cW0TU9ofzk0DarUxDWSXsMiy02Z8/8tl59IDsJ6TjrLuw8AQJBiYz+7gHXjTMXju5mbB CY0YI5Vsn0xj6m9eZEqX2La1XU1zVg2FK2EUGGFbX/jlWdzz2PXGj6yvKHZUlky3WYLA 3lQ2MWVxz1kp45nDQbhjqImjVM0C4zYo8pisqwpCDyc0nsGniEqlHSJxlZbQoVCK72Tr o84w== MIME-Version: 1.0 X-Received: by 10.60.177.231 with SMTP id ct7mr18005750oec.8.1413151188087; Sun, 12 Oct 2014 14:59:48 -0700 (PDT) Received: by 10.76.105.4 with HTTP; Sun, 12 Oct 2014 14:59:48 -0700 (PDT) In-Reply-To: References: Date: Sun, 12 Oct 2014 23:59:48 +0200 Message-ID: Subject: Re: alter table issues on 2.0.10 From: DuyHai Doan To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=089e01182fc4947803050540e654 X-Virus-Checked: Checked by ClamAV on apache.org --089e01182fc4947803050540e654 Content-Type: text/plain; charset=UTF-8 Hello Tommaso Can you give the full exception stack trace? Consider also filing a JIRA, it looks pretty fishy... On Sun, Oct 12, 2014 at 10:53 PM, tommaso barbugli wrote: > Hi, > it actually seems to be worse than what I thought; I get an exception in > cassandra logs every time I try to create a new table. > > Cql query: > CREATE TABLE shard12 ("feed_id" ascii, "activity_id" timeuuid, > "activities" blob, "created_at" timestamp, "group" ascii, "updated_at" > timestamp, "seen_at" timestamp, "read_at" timestamp, PRIMARY KEY > (("feed_id"), "activity_id")) WITH read_repair_chance = 0.1 AND clustering > order by ("activity_id" desc) AND compaction = {'sstable_size_in_mb': 64, > 'class': 'LeveledCompactionStrategy'}; > > This is the error: > java.lang.RuntimeException: java.util.concurrent.ExecutionException: > java.lang.RuntimeException: > org.apache.cassandra.exceptions.ConfigurationException: comparators do not > match or are not compatible. > > Tommaso > > 2014-10-12 13:05 GMT+02:00 tommaso barbugli : > >> Hi, >> I am seeing errors every time I make a schema migration of this kind on >> cassandra 2.0.10 >> >> ALTER TABLE notifications add "unread_ids" set static >> >> > message="java.lang.RuntimeException: >> java.util.concurrent.ExecutionException: java.lang.RuntimeException: >> org.apache.cassandra.exceptions.ConfigurationException: comparators do not >> match or are not compatible."> >> >> Weird enough DESCRIBE COLUMNFAMILY notifications; shows that the column >> unread_ids is created after the error. >> >> Any idea if this is an actual bug or if I am doing something wrong? >> >> Tommaso >> > > --089e01182fc4947803050540e654 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello Tommaso

=C2=A0Can you give the fu= ll exception stack trace? Consider also filing a JIRA, it looks pretty fish= y...

O= n Sun, Oct 12, 2014 at 10:53 PM, tommaso barbugli <tbarbugli@gmail.com> wrote:
Hi,=
it actually seems to be worse than what I thought; I get an exception = in cassandra logs every time I try to create a new table.

Cql query:
CREATE TABLE shard12 ("feed_id" asci= i, "activity_id" timeuuid, "activities" blob, "cre= ated_at" timestamp, "group" ascii, "updated_at" ti= mestamp, "seen_at" timestamp, "read_at" timestamp, PRIM= ARY KEY (("feed_id"), "activity_id")) WITH read_repair_= chance =3D 0.1 AND clustering order by ("activity_id" desc) AND c= ompaction =3D {'sstable_size_in_mb': 64, 'class': 'Leve= ledCompactionStrategy'};

This is the error= :
java.lang.RuntimeException: java.util.concurre= nt.ExecutionException: java.lang.RuntimeException: org.apache.cassandra.exc= eptions.ConfigurationException: comparators do not match or are not compati= ble.

Tommaso

2014-10-12 13:05 GMT+02:00 = tommaso barbugli <tbarbugli@gmail.com>:
Hi,
I am seeing errors ever= y time I make a schema migration of this kind on cassandra 2.0.10

ALTER TABLE notifications add "unread_ids" set<= ;timeuuid> static

<ErrorMessage code=3D0000 [Serv= er error] message=3D"java.lang.RuntimeException: java.util.concurrent.= ExecutionException: java.lang.RuntimeException: org.apache.cassandra.except= ions.ConfigurationException: comparators do not match or are not compatible= .">

Weird enough DESCRIBE COLUMNFAMILY notif= ications; shows that the column unread_ids is created after the error.

Any idea if this is an actual bug or if I am doing som= ething wrong?

Tommas= o


--089e01182fc4947803050540e654--