cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jens müller <jens.mueller.li...@googlemail.com>
Subject Re: Exception encountered during startup - org.apache.cassandra.db.marshal.MarshalException: UUIDs must be exactly 16 bytes
Date Thu, 04 Aug 2011 13:22:35 GMT
Hello Sylvain,

thank you very much for your kind help.

Thanks
Jens



2011/8/3 Sylvain Lebresne <sylvain@datastax.com>

> This is a known bug:
> https://issues.apache.org/jira/browse/CASSANDRA-2867
> (note that the issue title is not exact, in that this is not a problem with
> an
> upgrade from 0.7 to 0.8).
>
> This will be corrected in 0.8.3 that is under a vote right now to be
> released.
>
> --
> Sylvain
>
>
> On Wed, Aug 3, 2011 at 12:57 PM, jens müller
> <jens.mueller.lists@googlemail.com> wrote:
> > Hello,
> >
> > I would be thankfull for any advice how to recover from the following
> > problem:
> >
> > 1.) When I Start Cassandra, then I get the following exception:
> >
> >  INFO 12:51:08,964 Heap size: 1573912576/1574961152
> >  INFO 12:51:08,966 JNA not found. Native methods will be disabled.
> >  INFO 12:51:08,973 Loading settings from
> > file:/usr/local/cassandra/0.8.1/conf/cassandra.yaml
> >  INFO 12:51:09,102 DiskAccessMode 'auto' determined to be mmap,
> > indexAccessMode is mmap
> >  INFO 12:51:09,205 Global memtable threshold is enabled at 500MB
> >  INFO 12:51:09,206 Removing compacted SSTable files (see
> > http://wiki.apache.org/cassandra/MemtableSSTable)
> >  INFO 12:51:09,211 Removing compacted SSTable files (see
> > http://wiki.apache.org/cassandra/MemtableSSTable)
> >  INFO 12:51:09,212 Removing compacted SSTable files (see
> > http://wiki.apache.org/cassandra/MemtableSSTable)
> >  INFO 12:51:09,214 Removing compacted SSTable files (see
> > http://wiki.apache.org/cassandra/MemtableSSTable)
> >  INFO 12:51:09,215 Removing compacted SSTable files (see
> > http://wiki.apache.org/cassandra/MemtableSSTable)
> >  INFO 12:51:09,216 Removing compacted SSTable files (see
> > http://wiki.apache.org/cassandra/MemtableSSTable)
> >  INFO 12:51:09,251 Opening
> > /usr/local/cassandra/0.8.1/data/data/system/NodeIdInfo-g-1
> >  INFO 12:51:09,332 Opening
> > /usr/local/cassandra/0.8.1/data/data/system/IndexInfo-g-1
> >  INFO 12:51:09,343 Opening
> > /usr/local/cassandra/0.8.1/data/data/system/Schema-g-61
> >  INFO 12:51:09,348 Opening
> > /usr/local/cassandra/0.8.1/data/data/system/Migrations-g-61
> >  INFO 12:51:09,364 Opening
> > /usr/local/cassandra/0.8.1/data/data/system/LocationInfo-g-25
> >  INFO 12:51:09,365 Opening
> > /usr/local/cassandra/0.8.1/data/data/system/LocationInfo-g-26
> >  INFO 12:51:09,401 Loading schema version
> > d4d71860-bd04-11e0-0000-242d50cf1fd7
> > ERROR 12:51:09,579 Exception encountered during startup.
> > org.apache.cassandra.db.marshal.MarshalException: UUIDs must be exactly
> 16
> > bytes
> >         at
> >
> org.apache.cassandra.db.marshal.TimeUUIDType.getString(TimeUUIDType.java:117)
> >         at
> >
> org.apache.cassandra.config.CFMetaData.getDefaultIndexName(CFMetaData.java:971)
> >         at
> > org.apache.cassandra.config.CFMetaData.inflate(CFMetaData.java:381)
> >         at
> > org.apache.cassandra.config.KSMetaData.inflate(KSMetaData.java:172)
> >         at
> > org.apache.cassandra.db.DefsTable.loadFromStorage(DefsTable.java:99)
> >         at
> >
> org.apache.cassandra.config.DatabaseDescriptor.loadSchemas(DatabaseDescriptor.java:479)
> >         at
> >
> org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:139)
> >         at
> >
> org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:315)
> >         at
> > org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:80)
> > Exception encountered during startup.
> > org.apache.cassandra.db.marshal.MarshalException: UUIDs must be exactly
> 16
> > bytes
> >         at
> >
> org.apache.cassandra.db.marshal.TimeUUIDType.getString(TimeUUIDType.java:117)
> >         at
> >
> org.apache.cassandra.config.CFMetaData.getDefaultIndexName(CFMetaData.java:971)
> >         at
> > org.apache.cassandra.config.CFMetaData.inflate(CFMetaData.java:381)
> >         at
> > org.apache.cassandra.config.KSMetaData.inflate(KSMetaData.java:172)
> >         at
> > org.apache.cassandra.db.DefsTable.loadFromStorage(DefsTable.java:99)
> >         at
> >
> org.apache.cassandra.config.DatabaseDescriptor.loadSchemas(DatabaseDescriptor.java:479)
> >         at
> >
> org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:139)
> >         at
> >
> org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:315)
> >         at
> > org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:80)
> >
> >
> > I have to say, that my Linux Box crashed with an Out Of Memory Excetpion
> > (Kernel Panic) before.. Might this be the cause? Otherwise I am really
> > wondering, why the system is left in such an unstable state, that I event
> > can't start cassandra anymore.
> >
> > 2.) What can I do to recover from this the bst way ? I want to start
> > cassandra again, without losing data. How to do this / what to do next?
> >
> > Thank you very much!!
> > Jens
> >
>

Mime
View raw message