cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-12181) Include table name in "Cannot get comparator" exception
Date Sat, 16 Jul 2016 06:04:20 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-12181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15380530#comment-15380530
] 

Robert Stupp commented on CASSANDRA-12181:
------------------------------------------

Well, you don't. But it would add ks+cf name to every exception - not just for the special
case of composite types. WDYT?

> Include table name in "Cannot get comparator" exception
> -------------------------------------------------------
>
>                 Key: CASSANDRA-12181
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12181
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: sankalp kohli
>            Assignee: sankalp kohli
>            Priority: Trivial
>         Attachments: CASSANDRA-12181_3.0.txt
>
>
> Having table name will help in debugging the following exception. 
> ERROR [MutationStage:xx]  CassandraDaemon.java (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
(v6.3.4#6332)

Mime
View raw message