You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by "Langston, Jim" <Ji...@compuware.com> on 2013/09/10 16:09:11 UTC

cassandra error on restart

Hi all,

I restarted my cassandra ring this morning, but it is refusing to
start. Everything was fine, but now I get this error in the log:

….
 INFO 14:05:14,420 Compacting [SSTableReader(path='/raid0/cassandra/data/system/local/system-local-ic-20-Data.db'), SSTableReader(path='/raid0/cassandra/data/system/local/system-local-ic-21-Data.db'), SSTableReader(path='/raid0/cassandra/data/system/local/system-local-ic-23-Data.db'), SSTableReader(path='/raid0/cassandra/data/system/local/system-local-ic-22-Data.db')]
 INFO 14:05:14,493 Compacted 4 sstables to [/raid0/cassandra/data/system/local/system-local-ic-24,].  1,086 bytes to 486 (~44% of original) in 66ms = 0.007023MB/s.  4 total rows, 1 unique.  Row merge counts were {1:0, 2:0, 3:0, 4:1, }
 INFO 14:05:14,543 Starting Messaging Service on port 7000
java.lang.NullPointerException
at org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:745)
at org.apache.cassandra.service.StorageService.initServer(StorageService.java:554)
at org.apache.cassandra.service.StorageService.initServer(StorageService.java:451)
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:348)
at org.apache.cassandra.service.CassandraDaemon.init(CassandraDaemon.java:381)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:212)
Cannot load daemon


and cassandra will not start. I get the same error on all the nodes in the ring.

Thoughts?

Thanks,

Jim

Re: cassandra error on restart

Posted by "Langston, Jim" <Ji...@compuware.com>.
Thanks Mina,

That was it exactly …

Jim

From: Mina Naguib <mi...@adgear.com>>
Reply-To: <us...@cassandra.apache.org>>
Date: Tue, 10 Sep 2013 10:16:17 -0400
To: <us...@cassandra.apache.org>>
Subject: Re: cassandra error on restart


There was mention of a similar crash on the mailing list.  Does this apply to your case ?

http://mail-archives.apache.org/mod_mbox/cassandra-user/201306.mbox/%3CCDECFCFA.11E95%25agundabattula@threatmetrix.com%3E<ht...@threatmetrix.com>>


--
Mina Naguib
AdGear Technologies Inc.
http://adgear.com/

On 2013-09-10, at 10:09 AM, "Langston, Jim" <Ji...@compuware.com>> wrote:

Hi all,

I restarted my cassandra ring this morning, but it is refusing to
start. Everything was fine, but now I get this error in the log:

….
 INFO 14:05:14,420 Compacting [SSTableReader(path='/raid0/cassandra/data/system/local/system-local-ic-20-Data.db'), SSTableReader(path='/raid0/cassandra/data/system/local/system-local-ic-21-Data.db'), SSTableReader(path='/raid0/cassandra/data/system/local/system-local-ic-23-Data.db'), SSTableReader(path='/raid0/cassandra/data/system/local/system-local-ic-22-Data.db')]
 INFO 14:05:14,493 Compacted 4 sstables to [/raid0/cassandra/data/system/local/system-local-ic-24,].  1,086 bytes to 486 (~44% of original) in 66ms = 0.007023MB/s.  4 total rows, 1 unique.  Row merge counts were {1:0, 2:0, 3:0, 4:1, }
 INFO 14:05:14,543 Starting Messaging Service on port 7000
java.lang.NullPointerException
at org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:745)
at org.apache.cassandra.service.StorageService.initServer(StorageService.java:554)
at org.apache.cassandra.service.StorageService.initServer(StorageService.java:451)
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:348)
at org.apache.cassandra.service.CassandraDaemon.init(CassandraDaemon.java:381)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:212)
Cannot load daemon


and cassandra will not start. I get the same error on all the nodes in the ring.

Thoughts?

Thanks,

Jim


Re: cassandra error on restart

Posted by Mina Naguib <mi...@adgear.com>.
There was mention of a similar crash on the mailing list.  Does this apply to your case ?

http://mail-archives.apache.org/mod_mbox/cassandra-user/201306.mbox/%3CCDECFCFA.11E95%25agundabattula@threatmetrix.com%3E


--
Mina Naguib
AdGear Technologies Inc.
http://adgear.com/

On 2013-09-10, at 10:09 AM, "Langston, Jim" <Ji...@compuware.com> wrote:

> Hi all,
> 
> I restarted my cassandra ring this morning, but it is refusing to
> start. Everything was fine, but now I get this error in the log:
> 
> ….
>  INFO 14:05:14,420 Compacting [SSTableReader(path='/raid0/cassandra/data/system/local/system-local-ic-20-Data.db'), SSTableReader(path='/raid0/cassandra/data/system/local/system-local-ic-21-Data.db'), SSTableReader(path='/raid0/cassandra/data/system/local/system-local-ic-23-Data.db'), SSTableReader(path='/raid0/cassandra/data/system/local/system-local-ic-22-Data.db')]
>  INFO 14:05:14,493 Compacted 4 sstables to [/raid0/cassandra/data/system/local/system-local-ic-24,].  1,086 bytes to 486 (~44% of original) in 66ms = 0.007023MB/s.  4 total rows, 1 unique.  Row merge counts were {1:0, 2:0, 3:0, 4:1, }
>  INFO 14:05:14,543 Starting Messaging Service on port 7000
> java.lang.NullPointerException
> at org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:745)
> at org.apache.cassandra.service.StorageService.initServer(StorageService.java:554)
> at org.apache.cassandra.service.StorageService.initServer(StorageService.java:451)
> at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:348)
> at org.apache.cassandra.service.CassandraDaemon.init(CassandraDaemon.java:381)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:212)
> Cannot load daemon
> 
> 
> and cassandra will not start. I get the same error on all the nodes in the ring.
> 
> Thoughts?
> 
> Thanks,
> 
> Jim