cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-3407) Failed upgrade from 0.8.5 to 1.0.0
Date Mon, 31 Oct 2011 15:57:32 GMT

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

Jonathan Ellis updated CASSANDRA-3407:
--------------------------------------

         Priority: Minor  (was: Critical)
    Fix Version/s: 1.0.2

Actually we do have a problem, since we're supposed to check the partitioner setting in system
table and raise an error there.  But it looks like we run into this problem first...

If we only built the interval tree for LCS then that would take care of it for the size-tiered
case.  Any better ideas?
                
> 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
>            Priority: Minor
>             Fix For: 1.0.2
>
>         Attachments: 3407-assert-intervals.patch, exception1.txt, system.log, system.log,
system.tar.gz
>
>
> 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