cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Schnitzerling (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8067) NullPointerException in KeyCacheSerializer
Date Tue, 11 Nov 2014 08:43:34 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-8067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14206159#comment-14206159
] 

Andreas Schnitzerling commented on CASSANDRA-8067:
--------------------------------------------------

I still have the same issue running since a few weeks w/ 2.1.1 and I already upgraded the
sstables on that node. There are a lot in my system.log. In 2.0.10 there was not such an issue.
I still have most nodes running on 2.0.10. I'm curious for Yuki's report, if upgrading the
whole cluster fixes the problem. You can see my system.log at CASSANDRA-8192.

> NullPointerException in KeyCacheSerializer
> ------------------------------------------
>
>                 Key: CASSANDRA-8067
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8067
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Eric Leleu
>             Fix For: 2.1.1
>
>
> Hi,
> I have this stack trace in the logs of Cassandra server (v2.1)
> {code}
> ERROR [CompactionExecutor:14] 2014-10-06 23:32:02,098 CassandraDaemon.java:166 - Exception
in thread Thread[CompactionExecutor:14,1,main]
> java.lang.NullPointerException: null
>         at org.apache.cassandra.service.CacheService$KeyCacheSerializer.serialize(CacheService.java:475)
~[apache-cassandra-2.1.0.jar:2.1.0]
>         at org.apache.cassandra.service.CacheService$KeyCacheSerializer.serialize(CacheService.java:463)
~[apache-cassandra-2.1.0.jar:2.1.0]
>         at org.apache.cassandra.cache.AutoSavingCache$Writer.saveCache(AutoSavingCache.java:225)
~[apache-cassandra-2.1.0.jar:2.1.0]
>         at org.apache.cassandra.db.compaction.CompactionManager$11.run(CompactionManager.java:1061)
~[apache-cassandra-2.1.0.jar:2.1.0]
>         at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[na:1.7.0]
>         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) ~[na:1.7.0]
>         at java.util.concurrent.FutureTask.run(Unknown Source) ~[na:1.7.0]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.7.0]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.7.0]
>         at java.lang.Thread.run(Unknown Source) [na:1.7.0]
> {code}
> It may not be critical because this error occured in the AutoSavingCache. However the
line 475 is about the CFMetaData so it may hide bigger issue...
> {code}
>  474             CFMetaData cfm = Schema.instance.getCFMetaData(key.desc.ksname, key.desc.cfname);
>  475             cfm.comparator.rowIndexEntrySerializer().serialize(entry, out);
> {code}
> Regards,
> Eric



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message