incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Dusbabek <gdusba...@gmail.com>
Subject Re: Error during startup
Date Wed, 02 Jun 2010 17:52:20 GMT
I was able to reproduce the error by staring up a node using
RandomPartioner, kill it, switch to OrderPreservingPartitioner,
restart, kill, switch back to RandomPartitioner, BANG!

So it looks like you tinkered with the partitioner at some point.
This has the unfortunate effect of corrupting your system table.  I'm
trying to figure out a way to detect this and abort before data is
overwritten.

Gary.


On Sun, May 30, 2010 at 06:49, David Boxenhorn <david@lookin2.com> wrote:
> I deleted the system/LocationInfo files, and now everything works.
>
> Yay! (...what happened?)
>
> On Sun, May 30, 2010 at 4:18 PM, David Boxenhorn <david@lookin2.com> wrote:
>>
>> I'm getting an "Expected both token and generation columns; found
>> ColumnFamily" error during startup can anyone tell me what it is? Details
>> below.
>>
>> Starting Cassandra Server
>> Listening for transport dt_socket at address: 8888
>>  INFO 16:14:33,459 Auto DiskAccessMode determined to be standard
>>  INFO 16:14:33,615 Sampling index for
>> C:\var\lib\cassandra\data\system\LocationInfo-1-Data.db
>>  INFO 16:14:33,631 Removing orphan
>> C:\var\lib\cassandra\data\Lookin2\Users-tmp-27-Index.db
>>  INFO 16:14:33,631 Sampling index for
>> C:\var\lib\cassandra\data\Lookin2\Users-19-Data.db
>>  INFO 16:14:33,662 Sampling index for
>> C:\var\lib\cassandra\data\Lookin2\Users-18-Data.db
>>  INFO 16:14:33,818 Sampling index for
>> C:\var\lib\cassandra\data\Lookin2\Users-20-Data.db
>>  INFO 16:14:33,850 Sampling index for
>> C:\var\lib\cassandra\data\Lookin2\Users-21-Data.db
>>  INFO 16:14:33,865 Sampling index for
>> C:\var\lib\cassandra\data\Lookin2\Users-22-Data.db
>>  INFO 16:14:33,881 Sampling index for
>> C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestIdx-580-Data.db
>>  INFO 16:14:33,896 Sampling index for
>> C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestIdx-672-Data.db
>>  INFO 16:14:33,912 Sampling index for
>> C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestIdx-681-Data.db
>>  INFO 16:14:33,912 Sampling index for
>> C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestIdx-691-Data.db
>>  INFO 16:14:33,928 Sampling index for
>> C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestIdx-696-Data.db
>>  INFO 16:14:33,943 Sampling index for
>> C:\var\lib\cassandra\data\Lookin2\Attractions-17-Data.db
>>  INFO 16:14:34,006 Sampling index for
>> C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestTrendsetterIdx-5-Data.db
>>  INFO 16:14:34,006 Sampling index for
>> C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestTrendsetterIdx-6-Data.db
>>  INFO 16:14:34,021 Sampling index for
>> C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestPeerGroupIdx-29-Data.db
>>  INFO 16:14:34,350 Sampling index for
>> C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestPeerGroupIdx-51-Data.db
>>  INFO 16:14:34,693 Sampling index for
>> C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestPeerGroupIdx-72-Data.db
>>  INFO 16:14:35,021 Sampling index for
>> C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestPeerGroupIdx-77-Data.db
>>  INFO 16:14:35,225 Sampling index for
>> C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestPeerGroupIdx-78-Data.db
>>  INFO 16:14:35,350 Sampling index for
>> C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestPeerGroupIdx-79-Data.db
>>  INFO 16:14:35,459 Sampling index for
>> C:\var\lib\cassandra\data\Lookin2\GeoSiteInterestPeerGroupIdx-80-Data.db
>>  INFO 16:14:35,459 Sampling index for
>> C:\var\lib\cassandra\data\Lookin2\Taxonomy-1-Data.db
>>  INFO 16:14:35,475 Sampling index for
>> C:\var\lib\cassandra\data\Lookin2\Taxonomy-2-Data.db
>>  INFO 16:14:35,475 Sampling index for
>> C:\var\lib\cassandra\data\Lookin2\Content-30-Data.db
>>  INFO 16:14:35,631 Sampling index for
>> C:\var\lib\cassandra\data\Lookin2\Content-35-Data.db
>>  INFO 16:14:35,771 Sampling index for
>> C:\var\lib\cassandra\data\Lookin2\Content-40-Data.db
>>  INFO 16:14:35,959 Compacting
>> [org.apache.cassandra.io.SSTableReader(path='C:\var\lib\cassandra\data\Lookin2\Users-19-Data.db'),org.apache.cassandra.io.SSTableReader(path='C:\var\lib\cassandra\data\Lookin2\Users-20-Data.db'),org.apache.cassandra.io.SSTableReader(path='C:\var\lib\cassandra\data\Lookin2\Users-21-Data.db'),org.apache.cassandra.io.SSTableReader(path='C:\var\lib\cassandra\data\Lookin2\Users-22-Data.db')]
>> ERROR 16:14:35,975 Exception encountered during startup.
>> java.lang.RuntimeException: Expected both token and generation columns;
>> found ColumnFamily(LocationInfo [Generation:false:4@4,])
>>     at
>> org.apache.cassandra.db.SystemTable.initMetadata(SystemTable.java:159)
>>     at
>> org.apache.cassandra.service.StorageService.initServer(StorageService.java:305)
>>     at
>> org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:99)
>>     at
>> org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:177)
>> Exception encountered during startup.
>>
>
>

Mime
View raw message