You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ilya Kramer (JIRA)" <ji...@apache.org> on 2014/02/10 09:29:19 UTC

[jira] [Commented] (CASSANDRA-6684) Count fails with Illegal Capacity: -1

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

Ilya Kramer commented on CASSANDRA-6684:
----------------------------------------

Sorry the script is in python(pycassa) it was the easiest way for me to replicate that issue, but I also see it on astyanax and cassandra-cli, so I doubt the bug is on pycassa.

If you don't want to run the script to replicate, just create the following cf:
CREATE COLUMN FAMILY cw_last
WITH comparator = 'CompositeType(UTF8Type,UTF8Type,UTF8Type,UTF8Type)'
AND key_validation_class = TimeUUIDType;

and put every line of the csv(prow2) as a column in the CF, with blank value.

Thanks


> Count fails with Illegal Capacity: -1
> -------------------------------------
>
>                 Key: CASSANDRA-6684
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6684
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Ubuntu(multiple versions, 12.04 LTS and 13.04)
>            Reporter: Ilya Kramer
>         Attachments: import.py, prow2
>
>
> Whenever I try to count a row key which has exactly 3072(don't have a clue what special about that number) columns, I get the exception 'Illegal Capacity: -1'
> When I remove or add a single column the count work as expected.
> I'll attach a small script to replicate, as well as the data of the failed to count row.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)