I’ve got standard storage config from Cassandra package, all directories exists with properly permissions.

 

Maciek

 

From: atin sood [mailto:atinsood@gmail.com]
Sent: Tuesday, August 03, 2010 4:59 PM
To: user@cassandra.apache.org
Subject: Re: unable to start cassandra

 

I am not sure but can you please attach your storage.conf file.. that might help in debugging

 

I guess s.th is messed up in the column families described in the storage conf.. did you change the storage.conf that comes with the install

 

On Tue, Aug 3, 2010 at 8:17 PM, Maciej Lisowski <m.lisowski@powerprice.pl> wrote:

Hi all,

I’m new here and new with Cassandra and I’ve got problem to run it (v. 0.6.4) with jdk1.6.0_21.

When I type “cassandra” to run it I get error:

 

ERROR 16:23:53,803 Uncaught exception in thread Thread[ROW-MUTATION-STAGE:5,5,main]

java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.NullPointerException

        at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)

        at java.util.concurrent.FutureTask.get(FutureTask.java:83)

        at org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.afterExecute(DebuggableThreadPoolExecutor.java:86)

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:888)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

        at java.lang.Thread.run(Thread.java:619)

Caused by: java.lang.RuntimeException: java.lang.NullPointerException

        at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

        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)

        ... 2 more

Caused by: java.lang.NullPointerException

        at org.apache.cassandra.db.Table$TableMetadata.getColumnFamilyId(Table.java:131)

        at org.apache.cassandra.db.Table.getColumnFamilyId(Table.java:364)

        at org.apache.cassandra.db.commitlog.CommitLog$4.runMayThrow(CommitLog.java:256)

        at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)

        ... 6 more

 

I was looking for info what could happen but I didn’t find… can someone help me with this?

If I have to send something more (configuration or whatever) let me know

 

Maciek