cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nimi Wariboko Jr. (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-11988) NullPointerExpception when reading/compacting table
Date Fri, 10 Jun 2016 01:02:21 GMT
Nimi Wariboko Jr. created CASSANDRA-11988:

             Summary: NullPointerExpception when reading/compacting table
                 Key: CASSANDRA-11988
             Project: Cassandra
          Issue Type: Bug
            Reporter: Nimi Wariboko Jr.
             Fix For: 3.6

I have a table that suddenly refuses to be read or compacted. Issuing a read on the table
causes a NPE.

On compaction, it returns the error
ERROR [CompactionExecutor:6] 2016-06-09 17:10:15,724 - Exception
in thread Thread[CompactionExecutor:6,1,main]
java.lang.NullPointerException: null
	at org.apache.cassandra.db.transform.UnfilteredRows.isEmpty( ~[apache-cassandra-3.6.jar:3.6]
	at org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(
	at org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(
	at org.apache.cassandra.db.transform.BasePartitions.hasNext( ~[apache-cassandra-3.6.jar:3.6]
	at org.apache.cassandra.db.compaction.CompactionIterator.hasNext(
	at org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(
	at ~[apache-cassandra-3.6.jar:3.6]
	at org.apache.cassandra.db.compaction.CompactionTask.executeInternal(
	at org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(
	at org.apache.cassandra.db.compaction.CompactionManager$
	at java.util.concurrent.Executors$ ~[na:1.8.0_45]
	at ~[na:1.8.0_45]
	at java.util.concurrent.ThreadPoolExecutor.runWorker( ~[na:1.8.0_45]
	at java.util.concurrent.ThreadPoolExecutor$ [na:1.8.0_45]
	at [na:1.8.0_45]

CREATE TABLE cmpayments.report_payments (
    reportid timeuuid,
    userid timeuuid,
    adjustedearnings decimal,
    deleted set<timeuuid> static,
    earnings map<timeuuid, decimal>,
    gross map<timeuuid, decimal>,
    organizationid text,
    payall timestamp static,
    status text,
    PRIMARY KEY (reportid, userid)
    AND bloom_filter_fp_chance = 0.01
    AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'}
    AND comment = ''
    AND compaction = {'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy',
'max_threshold': '32', 'min_threshold': '4'}
    AND compression = {'chunk_length_in_kb': '64', 'class': ''}
    AND crc_check_chance = 1.0
    AND dclocal_read_repair_chance = 0.1
    AND default_time_to_live = 0
    AND gc_grace_seconds = 864000
    AND max_index_interval = 2048
    AND memtable_flush_period_in_ms = 0
    AND min_index_interval = 128
    AND read_repair_chance = 0.0
    AND speculative_retry = '99PERCENTILE';

This message was sent by Atlassian JIRA

View raw message