incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Exception at startup
Date Sat, 22 Aug 2009 13:07:03 GMT
no, that should be recent enough.

Was this cl written by the 0.3 install prior to the upgrade?

On 8/21/09, Anthony Molinaro <anthonym@alumni.caltech.edu> wrote:
> Maybe not, I'm using trunk (or at least trunk as of yesterday afternoon),
> was it fixed today by chance?
>
> -Anthony
>
> On Fri, Aug 21, 2009 at 10:28:16PM -0700, Jonathan Ellis wrote:
>> that looks like a log replay bug we had in beta one but is fixed in
>> current trunk.
>>
>> On 8/21/09, Anthony Molinaro <anthonym@alumni.caltech.edu> wrote:
>> > Hi,
>> >
>> >   I'm trying to make the transition from 0.3.0 to 0.4.0.  I recreated
>> > all my packages, rejiggered my load scripts to load up data, and loaded
>> > up the data.  I then needed to modify the java arguments to include a
>> > -Djava.rmi.server.hostname parameter so I could attach a jconsole to
>> > it.  So I restarted and got this exception
>> >
>> > java.lang.RuntimeException: Unable to load comparator class
>> > 'org.apache.cassandra.db.marshal.UT'.  probably this means you have
>> > obsolete
>> > sstables lying around
>> >         at
>> > org.apache.cassandra.db.ColumnFamilySerializer.readComparator(ColumnFamilySerializer.java:108)
>> >         at
>> > org.apache.cassandra.db.ColumnFamilySerializer.deserialize(ColumnFamilySerializer.java:83)
>> >         at
>> > org.apache.cassandra.db.RowSerializer.deserialize(Row.java:225)
>> >         at org.apache.cassandra.db.CommitLog.recover(CommitLog.java:326)
>> >         at
>> > org.apache.cassandra.db.RecoveryManager.doRecovery(RecoveryManager.java:58)
>> >         at
>> > org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:90)
>> >         at
>> > org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:166)
>> > Caused by: java.lang.ClassNotFoundException:
>> > org/apache/cassandra/db/marshal/UT
>> >         at java.lang.Class.forName0(Native Method)
>> >         at java.lang.Class.forName(Class.java:169)
>> >         at
>> > org.apache.cassandra.db.ColumnFamilySerializer.readComparator(ColumnFamilySerializer.java:104)
>> >         ... 6 more
>> >
>> > The odd thing is the name of that comparator class.  Above it seems to
>> > be clipped and viewing the log in vim I see several '^@' characters
>> > after the UT and before the ' which I believe are nulls.  I'd say
>> > it was memory corruption if this was C or C++, not sure what to say
>> > about this in java.
>> >
>> > I'm using trunk, any ideas?
>> >
>> > -Anthony
>> >
>> > --
>> > ------------------------------------------------------------------------
>> > Anthony Molinaro                           <anthonym@alumni.caltech.edu>
>> >
>
> --
> ------------------------------------------------------------------------
> Anthony Molinaro                           <anthonym@alumni.caltech.edu>
>

Mime
View raw message