cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksander Stasiak (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-5270) IllegalArgumentException during loading system schema
Date Tue, 19 Feb 2013 15:03:14 GMT
Aleksander Stasiak created CASSANDRA-5270:
---------------------------------------------

             Summary: IllegalArgumentException during loading system schema
                 Key: CASSANDRA-5270
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5270
             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 SSTableReader.java (line 169) Opening /home/synat/nosql_filesystem/cassandra/data/data/system/HintsColumnFamily/system-HintsColumnFamily-hf-4
(66 bytes)
ERROR [main] 2013-02-19 15:48:27,800 AbstractCassandraDaemon.java (line 406) Exception encountered
during startup
java.lang.IllegalArgumentException: value already present: 1022
        at com.google.common.base.Preconditions.checkArgument(Preconditions.java:115)
        at com.google.common.collect.AbstractBiMap.putInBothMaps(AbstractBiMap.java:111)
        at com.google.common.collect.AbstractBiMap.put(AbstractBiMap.java:96)
        at com.google.common.collect.HashBiMap.put(HashBiMap.java:84)
        at org.apache.cassandra.config.Schema.load(Schema.java:399)
        at org.apache.cassandra.config.Schema.load(Schema.java:120)
        at org.apache.cassandra.config.Schema.load(Schema.java:105)
        at org.apache.cassandra.config.DatabaseDescriptor.loadSchemas(DatabaseDescriptor.java:534)
        at org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:183)
        at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:389)
        at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:106)





--
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: http://www.atlassian.com/software/jira

Mime
View raw message