cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Hanna (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-5217) ThriftValidator throws InvalidRequestException("Start key's token sorts after end token") exception for columnfamilies with only 1 record
Date Sun, 03 Feb 2013 17:34:13 GMT

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

Jeremy Hanna commented on CASSANDRA-5217:
-----------------------------------------

Should be fixed in the 1.2 branch and will be part of 1.2.2.  Thanks for pointing it out.
                
> ThriftValidator throws InvalidRequestException("Start key's token sorts after end token")
exception for columnfamilies with only 1 record
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-5217
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5217
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Hadoop
>    Affects Versions: 1.2.1
>         Environment: Ubuntu 12.10
>            Reporter: Anton Slutsky
>
> Running word_count example on columnfamily with only one row results in "Start key's
token sorts after end token" being thrown.  Debugging through, appears to be caused by ThriftValidator.validateKeyRange
assumption that (quoting comment from code) "start_token/end_token can wrap, but key/token
should not".  If only one record exists, maybe wrapping is necessary?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message