cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Lewandowski (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-8332) Null pointer after droping keyspace
Date Fri, 21 Nov 2014 12:56:33 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-8332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jacek Lewandowski updated CASSANDRA-8332:
-----------------------------------------
    Attachment: CassandraStressTest-8332.zip

Here is a simple tool which I used to reproduce this problem. You can use it with the following
command:

sbt/sbt "run --batches 10 --inserts 100 --length 10 --parallelism 3 --host 127.0.0.1 --trials
2"

params are:
- batches - the number of batches in a single trial
- inserts - the number of inserts in a single batch
- length - the number of 3-byte characters in each text field
...


> Null pointer after droping keyspace
> -----------------------------------
>
>                 Key: CASSANDRA-8332
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8332
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Chris Lohfink
>            Assignee: T Jake Luciani
>            Priority: Minor
>             Fix For: 2.1.3
>
>         Attachments: CassandraStressTest-8332.zip
>
>
> After dropping keyspace, sometimes I see this in logs:
> {code}
> ERROR 03:40:29 Exception in thread Thread[CompactionExecutor:2,1,main]
> java.lang.AssertionError: null
> 	at org.apache.cassandra.io.compress.CompressionParameters.setLiveMetadata(CompressionParameters.java:108)
~[main/:na]
> 	at org.apache.cassandra.io.sstable.SSTableReader.getCompressionMetadata(SSTableReader.java:1142)
~[main/:na]
> 	at org.apache.cassandra.io.sstable.SSTableReader.openDataReader(SSTableReader.java:1896)
~[main/:na]
> 	at org.apache.cassandra.io.sstable.SSTableScanner.<init>(SSTableScanner.java:68)
~[main/:na]
> 	at org.apache.cassandra.io.sstable.SSTableReader.getScanner(SSTableReader.java:1681)
~[main/:na]
> 	at org.apache.cassandra.io.sstable.SSTableReader.getScanner(SSTableReader.java:1693)
~[main/:na]
> 	at org.apache.cassandra.db.compaction.LeveledCompactionStrategy.getScanners(LeveledCompactionStrategy.java:181)
~[main/:na]
> 	at org.apache.cassandra.db.compaction.WrappingCompactionStrategy.getScanners(WrappingCompactionStrategy.java:320)
~[main/:na]
> 	at org.apache.cassandra.db.compaction.AbstractCompactionStrategy.getScanners(AbstractCompactionStrategy.java:340)
~[main/:na]
> 	at org.apache.cassandra.db.compaction.CompactionTask.runWith(CompactionTask.java:151)
~[main/:na]
> 	at org.apache.cassandra.io.util.DiskAwareRunnable.runMayThrow(DiskAwareRunnable.java:48)
~[main/:na]
> 	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) ~[main/:na]
> 	at org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:75)
~[main/:na]
> 	at org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:59)
~[main/:na]
> 	at org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionTask.run(CompactionManager.java:233)
~[main/:na]
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[na:1.7.0_71]
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:262) ~[na:1.7.0_71]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_71]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_71]
> 	at java.lang.Thread.run(Thread.java:745) [na:1.7.0_71]
> {code}
> Minor issue since doesn't really affect anything, but the error makes it look like somethings
wrong.  Seen on 2.1 branch (1b21aef8152d96a180e75f2fcc5afad9ded6c595), not sure how far back
(may be post 2.1.2).



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

Mime
View raw message