cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Can't start up Cassnadra service.
Date Sat, 05 Jun 2010 13:30:04 GMT
looks like you changed your partitioner

On Fri, Jun 4, 2010 at 11:31 PM, Ma Xiao <maxiao@robowork.com> wrote:
> Cassdra can't start  it's service with following error, what's wrong with it?
>
> ERROR 14:28:22,631 Exception encountered during startup.
> java.lang.StringIndexOutOfBoundsException: String index out of range: -1
>        at java.lang.String.substring(String.java:1937)
>        at org.apache.cassandra.dht.RandomPartitioner.convertFromDiskFormat(RandomPartitioner.java:50)
>        at org.apache.cassandra.io.SSTableReader.loadIndexFile(SSTableReader.java:261)
>        at org.apache.cassandra.io.SSTableReader.open(SSTableReader.java:125)
>        at org.apache.cassandra.io.SSTableReader.open(SSTableReader.java:114)
>        at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:178)
>        at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:248)
>        at org.apache.cassandra.db.Table.<init>(Table.java:338)
>        at org.apache.cassandra.db.Table.open(Table.java:199)
>        at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:91)
>        at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:177)
> Exception encountered during startup.
> java.lang.StringIndexOutOfBoundsException: String index out of range: -1
>        at java.lang.String.substring(String.java:1937)
>        at org.apache.cassandra.dht.RandomPartitioner.convertFromDiskFormat(RandomPartitioner.java:50)
>        at org.apache.cassandra.io.SSTableReader.loadIndexFile(SSTableReader.java:261)
>        at org.apache.cassandra.io.SSTableReader.open(SSTableReader.java:125)
>        at org.apache.cassandra.io.SSTableReader.open(SSTableReader.java:114)
>        at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:178)
>        at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:248)
>        at org.apache.cassandra.db.Table.<init>(Table.java:338)
>        at org.apache.cassandra.db.Table.open(Table.java:199)
>        at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:91)
>        at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:177)
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com

Mime
View raw message