that looks like a log replay bug we had in beta one but is fixed in current trunk.
On 8/21/09, Anthony Molinaro <[email protected]> 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 <[email protected]> >
