cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Zlatanov (JIRA)" <>
Subject [jira] Reopened: (CASSANDRA-995) restarting node crashes with NPE when, while replaying the commitlog, the cfMetaData is requested
Date Fri, 16 Apr 2010 20:47:25 GMT


Ted Zlatanov reopened CASSANDRA-995:

I wouldn't report it as a bug if it wasn't on a commitlog written by the same version of the
software.  All the steps (1,2,3) are on the same SVN revision I stated in the Environment

> restarting node crashes with NPE when, while replaying the commitlog, the cfMetaData
is requested
> -------------------------------------------------------------------------------------------------
>                 Key: CASSANDRA-995
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.7
>         Environment: SVN rev 935070
>            Reporter: Ted Zlatanov
> Removing the commitlog directory completely fixes this.   I can reliably reproduce it
by 1) starting and configuring a schema with one keyspace, one super CF with LongType supercolumns;
2) inserting data; 3) shutting down and restarting the node.
> Here's my schema expressed in, should be obvious what the parameters are:
> ./ -server X -port Y -keyspace system 'kdefine test org.apache.cassandra.locator.RackUnawareStrategy
2 org.apache.cassandra.locator.EndPointSnitch'
> ./ -server X -port Y -keyspace test 'fdefine Status Super LongType BytesType
> The problem seems to be related to CASSANDRA-44 as it happens when the CF metadata is
requested but I don't know what's causing it.
> 10/04/16 15:25:11 INFO commitlog.CommitLog: Replaying /home/cassandra/commitlog/CommitLog-1271449410100.log,
/home/cassandra/commitlog/CommitLog-1271449378151.log, /home/cassandra/commitlog/CommitLog-1271449415800.log
> java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>         at java.lang.reflect.Method.invoke(
>         at
> Caused by: java.lang.NullPointerException
>         at org.apache.cassandra.db.Table.<init>(
>         at
>         at org.apache.cassandra.db.commitlog.CommitLog.recover(
>         at org.apache.cassandra.db.commitlog.CommitLog.recover(
>         at org.apache.cassandra.thrift.CassandraDaemon.setup(
>         at org.apache.cassandra.thrift.CassandraDaemon.init(
>         ... 5 more

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message