incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sameer Farooqui <cassandral...@gmail.com>
Subject Keyspace creation error on 0.8 beta2
Date Wed, 11 May 2011 23:09:03 GMT
When I run this from the Cassandra CMD-Line:
create keyspace MyKeySpace with placement_strategy =
'org.apache.cassandra.locator.SimpleStrategy' and strategy_options =
[{replication_factor:2}];

I get this error: Internal error processing system_add_keyspace

My syntax is correct for creating the keyspace (I think) because I got it
from the "help create keyspace;" examples from the CMD-line.

Cassandra system log shows:
ERROR [pool-2-thread-1] 2011-05-11 22:52:04,577 Cassandra.java (line 3918)
Internal error processing system_add_keyspace
java.lang.RuntimeException: java.util.concurrent.ExecutionException:
java.lang.NoSuchMethodError:
org.apache.commons.lang.StringUtils.join(Ljava/util/Collection;Ljava/lang/String;)Ljava/lang/String;
        at
org.apache.cassandra.thrift.CassandraServer.applyMigrationOnStage(CassandraServer.java:793)
        at
org.apache.cassandra.thrift.CassandraServer.system_add_keyspace(CassandraServer.java:881)
        at
org.apache.cassandra.thrift.Cassandra$Processor$system_add_keyspace.process(Cassandra.java:3912)
        at
org.apache.cassandra.thrift.Cassandra$Processor.process(Cassandra.java:2889)
        at
org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:187)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.util.concurrent.ExecutionException:
java.lang.NoSuchMethodError:
org.apache.commons.lang.StringUtils.join(Ljava/util/Collection;Ljava/lang/String;)Ljava/lang/String;
        at
java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
        at java.util.concurrent.FutureTask.get(FutureTask.java:83)
        at
org.apache.cassandra.thrift.CassandraServer.applyMigrationOnStage(CassandraServer.java:785)
        ... 7 more
Caused by: java.lang.NoSuchMethodError:
org.apache.commons.lang.StringUtils.join(Ljava/util/Collection;Ljava/lang/String;)Ljava/lang/String;
        at
org.apache.cassandra.config.KSMetaData.toString(KSMetaData.java:114)
        at
org.apache.cassandra.db.migration.AddKeyspace.toString(AddKeyspace.java:94)
        at
org.apache.cassandra.db.migration.Migration.apply(Migration.java:119)
        at
org.apache.cassandra.thrift.CassandraServer$2.call(CassandraServer.java:778)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        ... 3 more
ERROR [MigrationStage:1] 2011-05-11 22:52:04,580
AbstractCassandraDaemon.java (line 112) Fatal exception in thread
Thread[MigrationStage:1,5,main]
java.lang.NoSuchMethodError:
org.apache.commons.lang.StringUtils.join(Ljava/util/Collection;Ljava/lang/String;)Ljava/lang/String;
        at
org.apache.cassandra.config.KSMetaData.toString(KSMetaData.java:114)
        at
org.apache.cassandra.db.migration.AddKeyspace.toString(AddKeyspace.java:94)
        at
org.apache.cassandra.db.migration.Migration.apply(Migration.java:119)
        at
org.apache.cassandra.thrift.CassandraServer$2.call(CassandraServer.java:778)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)

Mime
View raw message