cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-12336) NullPointerException during compaction on table with static columns
Date Thu, 04 Aug 2016 14:15:20 GMT

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

Sylvain Lebresne commented on CASSANDRA-12336:
----------------------------------------------

[~carlyeks] gentle ping to know if you would have time to have a quick look at this. The patch
is a one liner and the test looks clear (though I just rebased and re-ran them to make doubly
sure). I'm off for vacation soon and I'd rather not have that fell through the cracks. Thanks.

> NullPointerException during compaction on table with static columns
> -------------------------------------------------------------------
>
>                 Key: CASSANDRA-12336
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12336
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Compaction
>         Environment: cqlsh 5.0.1
> Cassandra 3.0.8-SNAPSHOT (3.0.x dev - a5cbb0)
>            Reporter: Evan Prothro
>            Assignee: Sylvain Lebresne
>             Fix For: 3.0.9
>
>
> After being affected by https://issues.apache.org/jira/browse/CASSANDRA-11988, we built
a5cbb0. 
> Compaction still fails with the following trace:
> {code}
> WARN  [SharedPool-Worker-2] 2016-07-28 10:51:56,111 AbstractLocalAwareExecutorService.java:169
- Uncaught exception on thread Thread[SharedPool-Worker-2,5,main]: {}
> java.lang.RuntimeException: java.lang.NullPointerException
> 	at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2453)
~[main/:na]
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_72]
> 	at org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164)
~[main/:na]
> 	at org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$LocalSessionFutureTask.run(AbstractLocalAwareExecutorService.java:136)
[main/:na]
> 	at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) [main/:na]
> 	at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72]
> Caused by: java.lang.NullPointerException: null
> 	at org.apache.cassandra.db.ReadCommand$1MetricRecording.applyToRow(ReadCommand.java:466)
~[main/:na]
> 	at org.apache.cassandra.db.ReadCommand$1MetricRecording.applyToStatic(ReadCommand.java:460)
~[main/:na]
> 	at org.apache.cassandra.db.transform.BaseRows.add(BaseRows.java:105) ~[main/:na]
> 	at org.apache.cassandra.db.transform.UnfilteredRows.add(UnfilteredRows.java:41) ~[main/:na]
> 	at org.apache.cassandra.db.transform.Transformation.add(Transformation.java:156) ~[main/:na]
> 	at org.apache.cassandra.db.transform.Transformation.apply(Transformation.java:122) ~[main/:na]
> 	at org.apache.cassandra.db.ReadCommand$1MetricRecording.applyToPartition(ReadCommand.java:454)
~[main/:na]
> 	at org.apache.cassandra.db.ReadCommand$1MetricRecording.applyToPartition(ReadCommand.java:438)
~[main/:na]
> 	at org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96)
~[main/:na]
> 	at org.apache.cassandra.db.partitions.UnfilteredPartitionIterators$Serializer.serialize(UnfilteredPartitionIterators.java:295)
~[main/:na]
> 	at org.apache.cassandra.db.ReadResponse$LocalDataResponse.build(ReadResponse.java:145)
~[main/:na]
> 	at org.apache.cassandra.db.ReadResponse$LocalDataResponse.<init>(ReadResponse.java:138)
~[main/:na]
> 	at org.apache.cassandra.db.ReadResponse$LocalDataResponse.<init>(ReadResponse.java:134)
~[main/:na]
> 	at org.apache.cassandra.db.ReadResponse.createDataResponse(ReadResponse.java:76) ~[main/:na]
> 	at org.apache.cassandra.db.ReadCommand.createResponse(ReadCommand.java:320) ~[main/:na]
> 	at org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:1796)
~[main/:na]
> 	at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2449)
~[main/:na]
> 	... 5 common frames omitted
> {code}



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

Mime
View raw message