cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shariq <msmsha...@gmail.com>
Subject Error while startup - latest trunk build
Date Wed, 13 Apr 2011 05:38:32 GMT
Hi,

I am getting the following exception while starting Cassandra trunk build,
am I missing any configuration options, please help ?

Thanks,
Shariq.

Stack track
----------------
~/work/cassandra-trunk$ ./bin/cassandra -f
 INFO 11:04:07,864 Logging initialized
 INFO 11:04:07,877 Heap size: 1893728256/1893728256
 INFO 11:04:07,878 JNA not found. Native methods will be disabled.
 INFO 11:04:07,885 Loading settings from
file:/home/shariq/work/cassandra-trunk/conf/cassandra.yaml
 INFO 11:04:08,003 DiskAccessMode 'auto' determined to be mmap,
indexAccessMode is mmap
 INFO 11:04:08,083 Global memtable threshold is enabled at 602MB
 INFO 11:04:08,136 reading saved cache
/var/lib/cassandra/saved_caches/system-IndexInfo-KeyCache
 INFO 11:04:08,145 Opening /var/lib/cassandra/data/system/IndexInfo-f-5
 INFO 11:04:08,163 reading saved cache
/var/lib/cassandra/saved_caches/system-Schema-KeyCache
 INFO 11:04:08,165 Opening /var/lib/cassandra/data/system/Schema-f-57
 INFO 11:04:08,169 Opening /var/lib/cassandra/data/system/Schema-f-59
 INFO 11:04:08,171 Opening /var/lib/cassandra/data/system/Schema-f-58
 INFO 11:04:08,176 Opening /var/lib/cassandra/data/system/Migrations-f-58
 INFO 11:04:08,177 Opening /var/lib/cassandra/data/system/Migrations-f-57
 INFO 11:04:08,178 Opening /var/lib/cassandra/data/system/Migrations-f-59
 INFO 11:04:08,182 reading saved cache
/var/lib/cassandra/saved_caches/system-LocationInfo-KeyCache
 INFO 11:04:08,185 Opening /var/lib/cassandra/data/system/LocationInfo-f-46
 INFO 11:04:08,188 Opening /var/lib/cassandra/data/system/LocationInfo-f-47
 INFO 11:04:08,191 Opening /var/lib/cassandra/data/system/LocationInfo-f-45
 INFO 11:04:08,236 Loading schema version
33ac001b-60fc-11e0-8f89-e700f669bcfc
ERROR 11:04:08,463 Exception encountered during startup.
java.lang.RuntimeException:
org.apache.cassandra.config.ConfigurationException: SimpleStrategy requires
a replication_factor strategy option.
    at org.apache.cassandra.db.Table.<init>(Table.java:277)
    at org.apache.cassandra.db.Table.open(Table.java:109)
    at
org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:160)
    at
org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:314)
    at
org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:80)
Caused by: org.apache.cassandra.config.ConfigurationException:
SimpleStrategy requires a replication_factor strategy option.
    at
org.apache.cassandra.locator.SimpleStrategy.validateOptions(SimpleStrategy.java:75)
    at
org.apache.cassandra.locator.AbstractReplicationStrategy.createReplicationStrategy(AbstractReplicationStrategy.java:262)
    at
org.apache.cassandra.db.Table.createReplicationStrategy(Table.java:327)
    at org.apache.cassandra.db.Table.<init>(Table.java:273)
    ... 4 more
Exception encountered during startup.
java.lang.RuntimeException:
org.apache.cassandra.config.ConfigurationException: SimpleStrategy requires
a replication_factor strategy option.
    at org.apache.cassandra.db.Table.<init>(Table.java:277)
    at org.apache.cassandra.db.Table.open(Table.java:109)
    at
org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:160)
    at
org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:314)
    at
org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:80)
Caused by: org.apache.cassandra.config.ConfigurationException:
SimpleStrategy requires a replication_factor strategy option.
    at
org.apache.cassandra.locator.SimpleStrategy.validateOptions(SimpleStrategy.java:75)
    at
org.apache.cassandra.locator.AbstractReplicationStrategy.createReplicationStrategy(AbstractReplicationStrategy.java:262)
    at
org.apache.cassandra.db.Table.createReplicationStrategy(Table.java:327)
    at org.apache.cassandra.db.Table.<init>(Table.java:273)
    ... 4 more

Mime
View raw message