cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3407) Failed upgrade from 0.8.5 to 1.0.0
Date Thu, 27 Oct 2011 16:18:32 GMT

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

Sylvain Lebresne commented on CASSANDRA-3407:
---------------------------------------------

On my machine, I'm able to do 1156 recursive calls with -Xss128k (which we use by default)
before getting a StackOverflowException. Is that expected that we create such huge intervalTree
?
                
> Failed upgrade from 0.8.5 to 1.0.0
> ----------------------------------
>
>                 Key: CASSANDRA-3407
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3407
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.0
>         Environment: Linux  2.6.18
>            Reporter: Zhong Li
>            Assignee: paul cannon
>             Fix For: 1.0.2
>
>         Attachments: exception1.txt
>
>
> After installed 1.0.0 and changed config file cassandra.yaml, restart cassandra and got
exception,
> INFO 22:25:37,727 Opening /srv/opt/cassandra8/data/system/IndexInfo-g-121 (5428 bytes)
> ERROR 22:25:37,753 Exception encountered during startup_type: 0},
> java.lang.StackOverflowError, validation_class: UTF8Type, index_type: 0},
>        at java.math.BigInteger.compareMagnitude(BigInteger.java:2477)
>        at java.math.BigInteger.compareTo(BigInteger.java:2463)type: 0},
>        at org.apache.cassandra.dht.BigIntegerToken.compareTo(BigIntegerToken.java:39)
>        at org.apache.cassandra.db.DecoratedKey.compareTo(DecoratedKey.java:83)
>        at org.apache.cassandra.db.DecoratedKey.compareTo(DecoratedKey.java:38)
>        at java.util.Arrays.mergeSort(Arrays.java:1144)dex_type: 0},
>        at java.util.Arrays.sort(Arrays.java:1079)dex_type: 0},
>        at java.util.Collections.sort(Collections.java:117)},
>        at org.apache.cassandra.utils.IntervalTree.IntervalNode.findMinMedianMax(IntervalNode.java:102)
>        at org.apache.cassandra.utils.IntervalTree.IntervalNode.<init>(IntervalNode.java:43)
>        at org.apache.cassandra.utils.IntervalTree.IntervalNode.<init>(IntervalNode.java:51)
>        at org.apache.cassandra.utils.IntervalTree.IntervalNode.<init>(IntervalNode.java:51)
>        at org.apache.cassandra.utils.IntervalTree.IntervalNode.<init>(IntervalNode.java:51)
>        at org.apache.cassandra.utils.IntervalTree.IntervalNode.<init>(IntervalNode.java:51)
>        at org.apache.cassandra.utils.IntervalTree.IntervalNode.<init>(IntervalNode.java:51)
>        at org.apache.cassandra.utils.IntervalTree.IntervalNode.<init>(IntervalNode.java:51)
> .....
>        at org.apache.cassandra.utils.IntervalTree.IntervalNode.<init>(IntervalNode.java:51)
>        at org.apache.cassandra.utils.IntervalTree.IntervalTree.<init>(IntervalTree.java:38)
>        at org.apache.cassandra.db.DataTracker$View.buildIntervalTree(DataTracker.java:522)
>        at org.apache.cassandra.db.DataTracker$View.replace(DataTracker.java:547)
>        at org.apache.cassandra.db.DataTracker.replace(DataTracker.java:268)
>        at org.apache.cassandra.db.DataTracker.addSSTables(DataTracker.java:237)
>        at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:216)
>        at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:315)
>        at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:285)
>        at org.apache.cassandra.db.Table.initCf(Table.java:372)
>        at org.apache.cassandra.db.Table.<init>(Table.java:320)
>        at org.apache.cassandra.db.Table.open(Table.java:121)
>        at org.apache.cassandra.db.Table.open(Table.java:104)
>        at org.apache.cassandra.db.SystemTable.checkHealth(SystemTable.java:215)
>        at org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:150)
>        at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:337)
>        at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:106)
> Exception encountered during startup: null

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