cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stu Hood" <stu.h...@rackspace.com>
Subject RE: Null Pointer Exception / Secondary Indices
Date Wed, 06 Oct 2010 15:06:35 GMT
Hey JT,

I believe this issue should be fixed by CASSANDRA-1571... if you're able to test that patch,
it would be very helpful.

Thanks,
Stu

-----Original Message-----
From: "J T" <jt4websites@googlemail.com>
Sent: Tuesday, October 5, 2010 9:50pm
To: cassandra-user@incubator.apache.org
Subject: Null Pointer Exception / Secondary Indices

Hi,

I've been battling against some errors that only seem to crop up when I'm
messing around with secondary indices in 0.7-beta2.

Namely I seem to get errors like this start to happen, after I 'delete' a
row in a CF that has a couple of secondary indices on it and then at some
point later try to query for any rows from that CF.
Usually I don;t get the Null pointer exception below, instead what often
happens is that the SliceQueryFilter.java line before it, repeats itself
forever bever stopping until I kill the server

On this occasion I got a null pointer exception as well. This is on trunk as
of tonight (but I was getting it over the weekend as well).

DEBUG [pool-1-thread-149] 2010-10-06 03:43:15,436 ClientState.java (line
102) logged in: #<User allow_all groups=[]>
DEBUG [pool-1-thread-99] 2010-10-06 03:43:15,444 CassandraServer.java (line
536) scan
DEBUG [pool-1-thread-99] 2010-10-06 03:43:15,444 StorageProxy.java (line
571) computing restricted ranges for query [0,0]
DEBUG [pool-1-thread-99] 2010-10-06 03:43:15,445 StorageProxy.java (line
583) Adding to restricted ranges (91870423363853801063842423182856312085,0]
for
(91870423363853801063842423182856312085,91870423363853801063842423182856312085]
DEBUG [pool-1-thread-99] 2010-10-06 03:43:15,446 StorageProxy.java (line
583) Adding to restricted ranges (0,91870423363853801063842423182856312085]
for
(91870423363853801063842423182856312085,91870423363853801063842423182856312085]
DEBUG [pool-1-thread-99] 2010-10-06 03:43:15,447 StorageProxy.java (line
617) Sorted ranges are [(0,91870423363853801063842423182856312085],
(91870423363853801063842423182856312085,0]]
DEBUG [pool-1-thread-99] 2010-10-06 03:43:15,447 StorageProxy.java (line
680) scan ranges are
(0,91870423363853801063842423182856312085],(91870423363853801063842423182856312085,0]
DEBUG [pool-1-thread-99] 2010-10-06 03:43:15,448 StorageProxy.java (line
700) reading org.apache.cassandra.db.IndexScanCommand@1422265 from
1268@localhost/127.0.0.1
*DEBUG [ReadStage:24] 2010-10-06 03:43:15,450 SliceQueryFilter.java (line
122) collecting 0 of 1: null:false:0@1286332576*
ERROR [ReadStage:24] 2010-10-06 03:43:15,451
DebuggableThreadPoolExecutor.java (line 103) Error in ThreadPoolExecutor
java.lang.RuntimeException: java.lang.NullPointerException
at
org.apache.cassandra.service.IndexScanVerbHandler.doVerb(IndexScanVerbHandler.java:50)
at
org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:50)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.NullPointerException
at
org.apache.cassandra.db.ColumnFamilyStore.satisfies(ColumnFamilyStore.java:1297)
at
org.apache.cassandra.db.ColumnFamilyStore.scan(ColumnFamilyStore.java:1245)
at
org.apache.cassandra.service.IndexScanVerbHandler.doVerb(IndexScanVerbHandler.java:41)
... 4 more
ERROR [ReadStage:24] 2010-10-06 03:43:15,453 AbstractCassandraDaemon.java
(line 88) Fatal exception in thread Thread[ReadStage:24,5,main]
java.lang.RuntimeException: java.lang.NullPointerException
at
org.apache.cassandra.service.IndexScanVerbHandler.doVerb(IndexScanVerbHandler.java:50)
at
org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:50)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.NullPointerException
at
org.apache.cassandra.db.ColumnFamilyStore.satisfies(ColumnFamilyStore.java:1297)
at
org.apache.cassandra.db.ColumnFamilyStore.scan(ColumnFamilyStore.java:1245)
at
org.apache.cassandra.service.IndexScanVerbHandler.doVerb(IndexScanVerbHandler.java:41)
... 4 more



Mime
View raw message