cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-6041) AssertionError in Tracing
Date Tue, 17 Sep 2013 13:07:52 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-6041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sylvain Lebresne updated CASSANDRA-6041:
----------------------------------------

    Since Version: 2.0
      Description: 
Tracing in 2.0.0 can throw the following:
{noformat}
ERROR [TracingStage:1] 2013-09-17 14:38:41,486 CassandraDaemon.java (line 185) Exception in
thread Thread[TracingStage:1,5,main]
java.lang.AssertionError: Added column does not sort as the last column
        at org.apache.cassandra.db.ArrayBackedSortedColumns.addColumn(ArrayBackedSortedColumns.java:115)
        at org.apache.cassandra.db.ColumnFamily.addColumn(ColumnFamily.java:116)
        at org.apache.cassandra.tracing.Tracing.addParameterColumns(Tracing.java:101)
        at org.apache.cassandra.tracing.Tracing$2.runMayThrow(Tracing.java:210)
        at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:724)

{noformat}

That's because addParamaterColumns will insert cell with names we don't know in advance, so
we can't use ArrayBackedSortedColumns. Attaching patch to switch to TreeMapBackedSortedColumns.
    
> AssertionError in Tracing
> -------------------------
>
>                 Key: CASSANDRA-6041
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6041
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 2.0.1
>
>
> Tracing in 2.0.0 can throw the following:
> {noformat}
> ERROR [TracingStage:1] 2013-09-17 14:38:41,486 CassandraDaemon.java (line 185) Exception
in thread Thread[TracingStage:1,5,main]
> java.lang.AssertionError: Added column does not sort as the last column
>         at org.apache.cassandra.db.ArrayBackedSortedColumns.addColumn(ArrayBackedSortedColumns.java:115)
>         at org.apache.cassandra.db.ColumnFamily.addColumn(ColumnFamily.java:116)
>         at org.apache.cassandra.tracing.Tracing.addParameterColumns(Tracing.java:101)
>         at org.apache.cassandra.tracing.Tracing$2.runMayThrow(Tracing.java:210)
>         at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:724)
> {noformat}
> That's because addParamaterColumns will insert cell with names we don't know in advance,
so we can't use ArrayBackedSortedColumns. Attaching patch to switch to TreeMapBackedSortedColumns.

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