cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-5270) IllegalArgumentException during loading system schema
Date Tue, 19 Feb 2013 15:31:14 GMT


Jonathan Ellis commented on CASSANDRA-5270:

You'll need to remove the schema data and recreate it after restart.
> IllegalArgumentException during loading system schema
> -----------------------------------------------------
>                 Key: CASSANDRA-5270
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.7
>         Environment: Linux 3.6.9-2.fc17.x86_64 #1 SMP Tue Dec 4 13:26:04 UTC 2012 x86_64
x86_64 x86_64 GNU/Linux
>            Reporter: Aleksander Stasiak
> The scenario was as follows: 
> I tried to to create test keyspace with the copy of production data (production data
had simple topology with RF:2). Both should be stored in the same cluster. I dropped old test
keyspace with command: drop keyspace production; result - positive, so I removed test folder
from data.
> Then I executed flush on all servers and copied production folder from data into the
test and renamed all files with prefix production to test.
> After it I created test storage with RF:1 (topology: simple). Then I started to verify
consistency with scripts, but on one of the servers log message appeared:
> AssertionError: DecoratedKey(long list of keys) != DecoratedKey(104348225353174882702076782103426695837,
6e6e636c5776665f6f61695f6574646d73) on one of test files
> so I decided to restart, But node declined to start with error message:
>  INFO [SSTableBatchOpen:1] 2013-02-19 15:48:27,451 (line 169) Opening
(66 bytes)
> ERROR [main] 2013-02-19 15:48:27,800 (line 406) Exception
encountered during startup
> java.lang.IllegalArgumentException: value already present: 1022
>         at
>         at
>         at
>         at
>         at org.apache.cassandra.config.Schema.load(
>         at org.apache.cassandra.config.Schema.load(
>         at org.apache.cassandra.config.Schema.load(
>         at org.apache.cassandra.config.DatabaseDescriptor.loadSchemas(
>         at org.apache.cassandra.service.AbstractCassandraDaemon.setup(
>         at org.apache.cassandra.service.AbstractCassandraDaemon.activate(
>         at org.apache.cassandra.thrift.CassandraDaemon.main(

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message