cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (Issue Comment Edited) (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (CASSANDRA-3814) [patch] add assertion message for deserializing columns assertion failure
Date Tue, 31 Jan 2012 04:44:12 GMT

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

Dave Brosius edited comment on CASSANDRA-3814 at 1/31/12 4:43 AM:
------------------------------------------------------------------

as for being a dup, i'm assuming the error i got was the same as the user, but he didn't debug
the server side so i can't say for sure.

And yes, i wasn't suggesting this as 'the fix' but if its going to throw asserts, would be
nice to have information as well.
                
      was (Author: dbrosius@apache.org):
    as for being a dup, i'm assuming the error i got was the same as the user, but he didn't
debug the server side so i can't say for sure.
                  
> [patch] add assertion message for deserializing columns assertion failure
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-3814
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3814
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Dave Brosius
>            Priority: Trivial
>         Attachments: assert_msg.diff
>
>
> use was doing
> create column family report_by_account_content with comparator=UTF8Type;
> update column family report_by_account_content with comparator=UTF8Type and column_metadata
= [{ column_name:'meta:account-id', validation_class:UTF8Type,index_type:KEYS},{ column_name:'meta:filter-hash',
validation_class:UTF8Type,index_type:KEYS}];
> assert was generated but not represented to client. adding message:
> // column name format <cf>:<column name>:<attribute name>
> String[] components = columns.getComparator().getString(column.name()).split(":");
> assert components.length == 3 : "Number of Comparator components not 3: " + Arrays.toString(components);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message