cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-12181) Include table name in "Cannot get comparator" exception
Date Tue, 19 Jul 2016 08:21:20 GMT


Sylvain Lebresne commented on CASSANDRA-12181:

Thanks for the stack. I still kind of feel this shouldn't be happening at that point, we should
have somehow validated the mutation against the schema and/or the schema change earlier, but
it's hard to say without more context and knowing what led to this. I suppose there is no
harm in getting a more helpful exception when that happen though so I'm good with v3 and feel
free to let us know if you find more details on the original cause for this so we can improve
the experience.

> Include table name in "Cannot get comparator" exception
> -------------------------------------------------------
>                 Key: CASSANDRA-12181
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: sankalp kohli
>            Assignee: sankalp kohli
>            Priority: Trivial
>         Attachments: CASSANDRA-12181-3.0_v2.txt, CASSANDRA-12181_3.0-v3.txt, CASSANDRA-12181_3.0.txt
> Having table name will help in debugging the following exception. 
> ERROR [MutationStage:xx] (line 199) Exception in thread Thread[MutationStage:3788,5,main]
> clusterName=itms8shared20
> java.lang.RuntimeException: Cannot get comparator 2 in org.apache.cassandra.db.marshal.CompositeType(org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.UTF8Type).

> This might be due to a mismatch between the schema and the data read

This message was sent by Atlassian JIRA

View raw message