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 5E14118DEA for ; Wed, 9 Mar 2016 20:31:29 +0000 (UTC) Received: (qmail 94658 invoked by uid 500); 9 Mar 2016 20:31:25 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 94618 invoked by uid 500); 9 Mar 2016 20:31:25 -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 94607 invoked by uid 99); 9 Mar 2016 20:31:25 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Mar 2016 20:31:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 99295C0C99 for ; Wed, 9 Mar 2016 20:31:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id UAqRMksBfXbp for ; Wed, 9 Mar 2016 20:31:23 +0000 (UTC) Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id BC1F55F640 for ; Wed, 9 Mar 2016 20:31:22 +0000 (UTC) Received: by mail-wm0-f43.google.com with SMTP id p65so2013439wmp.0 for ; Wed, 09 Mar 2016 12:31:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=c9lgl2suZ4w4oKQ+Z4Qbr5PYQ7XZsUkTShBvajD1hqo=; b=WCx+giltKWSM+vORFjaR6yfLBeUvkcz6Uz/u7V2uzTmRzerLagQAFEiTpjD17SMDZG 3NSSHTYACjpTqTTjpFAA/LBDqx/IxllceXNiko3iKsqZspZZm0uP2ktz9fqfy2kebK52 SUSl4csfVdxK4e9KAfm8dRVtsNr29Ogkmf4eEI+4jkQH6n4/pKYi/OISt0qRt1UyuA9t N3Yp5ROkuyQiAhJZZwu0io4fmV3XsN1VOUPpLiPU0cq/GK4YQyyyrBHdOXrEagBi4Mx9 fdintcXccikIOjh6gHnJw0TCHk6Z7Jko5LQ30Y2FbqzVrXE2uR1sfWT1j5yQeO7xhd0C 8TPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=c9lgl2suZ4w4oKQ+Z4Qbr5PYQ7XZsUkTShBvajD1hqo=; b=kk4XpZyu+T++IBOjoTD0XKszkCWVXzVH999+zPownwCoyTeMaEg2dkhYMN4MHuBbRH zh57PfmBZXYrYUOO/k95AuT5phndpxNH5BysKxDhdh5qgxl1rKsG7I+NBWe+kBuZvzij WXs1wIlvDLaKQJEyc96nUAcJaRBWJXhE/1bWhsVuv34WzEdnFbv2cwui8QTsiDvZ/PQU xyVd4S7ZPyqzuARH90fzU6YZW5DpBLUCIssmMmNlspKgwsTsZFpbZiQ8rzu7CZqv0u2F Z1nI8ZQLuPE56sJMEIl7JPBXe2EP7f+P6y+IntIb/XIRBfBOV8K3E12oab9AVKlNQWwZ MxUg== X-Gm-Message-State: AD7BkJK78YxZR/xJwd9htYaom5EkJqQQ/6hqak6rqO1SuwGL8D/Fec3AIQlnPw4qZtEtkYMT2aYsGoBOTwcnXw== X-Received: by 10.28.68.85 with SMTP id r82mr68281wma.65.1457555482454; Wed, 09 Mar 2016 12:31:22 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?B?RW3Eq2xzIMWgb2xtYW5pcw==?= Date: Wed, 09 Mar 2016 20:31:12 +0000 Message-ID: Subject: Re: Exception about too long clustering key To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a1148bcf0c5ae59052da394a1 --001a1148bcf0c5ae59052da394a1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hey Alex, I did do a grep for that message in the driver code base and it seems like it's not there, so I think this is coming from the server. Only thing I can think of is us exceeding one of the limits (e.g., the 65K collection item one) and then the error message being super misleading. I'll check the server code tomorrow and see if I can track that message down. Regards, Emils On Wed, 9 Mar 2016 20:02 Alex Popescu, wrote: > Hi Em=C4=ABls, > > Directing this question to the Java driver mailing list will give you > better chances to get an answer: > https://groups.google.com/a/lists.datastax.com/forum/#!forum/java-driver-= user > > (as a side note, I haven't seen this one before) > > On Wed, Mar 9, 2016 at 11:52 AM, Em=C4=ABls =C5=A0olmanis > wrote: > >> Hello, >> >> I keep getting an exception about a clustering key being too long, like >> >> com.datastax.driver.core.exceptions.InvalidQueryException: The sum of al= l clustering columns is too long (72650 > 65535) >> at com.datastax.driver.core.Responses$Error.asException(Responses.java:= 136) >> at com.datastax.driver.core.DefaultResultSetFuture.onSet(DefaultResultS= etFuture.java:179) >> at com.datastax.driver.core.RequestHandler.setFinalResult(RequestHandle= r.java:184) >> >> >> But the table has no clustering key. Even if I set the clustering key to >> a single column that's guaranteed to be a string around 4-5 characters, = I >> get the same thing. >> >> The only result Google gave me suggested this was about the clustering >> key names, so I renamed all the fields in the schema def to 1-3 letters,= to >> no avail. >> >> Does anyone know what this is about and how I can solve this? >> >> Running Cassandra 2.2.4, Datastax driver 3.0.0. >> >> Regards, >> Emils >> > > > > -- > Bests, > > Alex Popescu | @al3xandru > Sen. Product Manager @ DataStax > > --001a1148bcf0c5ae59052da394a1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hey Alex,

I did do a grep for that message in the driver code b= ase and it seems like it's not there, so I think this is coming from th= e server.

Only thing I can think of is us exceeding one of the = limits (e.g., the 65K collection item one) and then the error message being= super misleading. I'll check the server code tomorrow and see if I can= track that message down.

Regards,
Emils


On Wed, 9 Mar 2016 2= 0:02 Alex Popescu, <alexp@datastax= .com> wrote:
Hi=C2=A0Em=C4=ABls,

Directing this question to the Jav= a driver mailing list will give you better chances to get an answer:=C2=A0<= a href=3D"https://groups.google.com/a/lists.datastax.com/forum/#!forum/java= -driver-user" target=3D"_blank">https://groups.google.com/a/lists.datastax.= com/forum/#!forum/java-driver-user

(as a side = note, I haven't seen this one before)

On Wed= , Mar 9, 2016 at 11:52 AM, Em=C4=ABls =C5=A0olmanis <<= a href=3D"mailto:emils.solmanis@gmail.com" target=3D"_blank">emils.solmanis= @gmail.com> wrote:
Hello,

I keep getting an exception about a clus= tering key being too long, like
com.datastax.driver.core.exceptions.InvalidQueryException=
: The sum of all clustering columns is too long (72650 > 65535)
	at com.datastax.driver.core.Responses$Error.asException(Responses.java:136=
)
	at com.datastax.driver.core.DefaultResultSetFuture.onSet(DefaultResultSetF=
uture.java:179)
	at com.datastax.driver.core.RequestHandler.setFinalResult(RequestHandler.j=
ava:184)

But the table has no clustering key. Even i= f I set the clustering key to a single column that's guaranteed to be a= string around 4-5 characters, I get the same thing.=C2=A0

The only result Google gave me suggested this was about the cluste= ring key names, so I renamed all the fields in the schema def to 1-3 letter= s, to no avail.

Does anyone know what this is abou= t and how I can solve this?

Running Cassandra 2.2.= 4, Datastax driver 3.0.0.

Regards,
Emils=



--
Bests,

Alex Popescu |=C2=A0@al3xandr= u
Sen. Product Manager @ DataStax

--001a1148bcf0c5ae59052da394a1--