cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Petrov (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-13482) NPE on non-existing row read when row cache is enabled
Date Fri, 28 Apr 2017 10:53:04 GMT
Alex Petrov created CASSANDRA-13482:

             Summary: NPE on non-existing row read when row cache is enabled
                 Key: CASSANDRA-13482
             Project: Cassandra
          Issue Type: Bug
            Reporter: Alex Petrov

The problem is reproducible on 3.0 with:

-# row_cache_class_name: org.apache.cassandra.cache.OHCProvider
+row_cache_class_name: org.apache.cassandra.cache.OHCProvider

-row_cache_size_in_mb: 0
+row_cache_size_in_mb: 100

Table setup:

CREATE TABLE cache_tables (pk int, v1 int, v2 int, v3 int, primary key (pk, v1)) WITH CACHING
= { 'keys': 'ALL', 'rows_per_partition': '1' } ;

No data is required, only a head query (or any pk/ck query but with full partitions cached).

select * from cross_page_queries where pk = 10000 ;

java.lang.AssertionError: null
        at org.apache.cassandra.db.rows.UnfilteredRowIterators.concat(
        at org.apache.cassandra.db.SinglePartitionReadCommand.getThroughCache(
        at org.apache.cassandra.db.SinglePartitionReadCommand.queryStorage(
        at org.apache.cassandra.db.ReadCommand.executeLocally( ~[main/:na]
        at org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(
        at org.apache.cassandra.service.StorageProxy$
        at java.util.concurrent.Executors$ ~[na:1.8.0_121]
        at org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$
        at org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$
        at [main/:na]
        at [na:1.8.0_121]

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message