You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Anton Slutsky (JIRA)" <ji...@apache.org> on 2013/02/03 17:08:12 UTC

[jira] [Created] (CASSANDRA-5217) ThriftValidator throws InvalidRequestException("Start key's token sorts after end token") exception for columnfamilies with only 1 record

Anton Slutsky created CASSANDRA-5217:
----------------------------------------

             Summary: 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