cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russ Hatch (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-7727) exception in CompactionExecutor after upgrade to trunk
Date Fri, 08 Aug 2014 19:03:13 GMT
Russ Hatch created CASSANDRA-7727:
-------------------------------------

             Summary: exception in CompactionExecutor after upgrade to trunk
                 Key: CASSANDRA-7727
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7727
             Project: Cassandra
          Issue Type: Bug
            Reporter: Russ Hatch


During a run of the upgrade_through_versions test ( I'm seeing this exception:
{noformat}
ERROR [CompactionExecutor:1] 2014-08-08 12:32:11,639 CassandraDaemon.java:175 - Exception
in thread Thread[CompactionExecutor:1,1,main]
java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@2eb703c7
rejected from org.apache.cassandra.concurrent.DebuggableScheduledThreadPoolExecutor@3278c7fe[Terminated,
pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 73]
        at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2048)
~[na:1.7.0_67]
        at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:821) ~[na:1.7.0_67]
        at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:325)
~[na:1.7.0_67]
        at java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:530)
~[na:1.7.0_67]
        at java.util.concurrent.ScheduledThreadPoolExecutor.execute(ScheduledThreadPoolExecutor.java:619)
~[na:1.7.0_67]
        at org.apache.cassandra.io.sstable.SSTableReader.scheduleTidy(SSTableReader.java:628)
~[main/:na]
        at org.apache.cassandra.io.sstable.SSTableReader.tidy(SSTableReader.java:609) ~[main/:na]
        at org.apache.cassandra.io.sstable.SSTableReader.releaseReference(SSTableReader.java:1596)
~[main/:na]
        at org.apache.cassandra.db.DataTracker.replaceReaders(DataTracker.java:354) ~[main/:na]
        at org.apache.cassandra.io.sstable.SSTableRewriter.abort(SSTableRewriter.java:200)
~[main/:na]
        at org.apache.cassandra.db.compaction.CompactionTask.runWith(CompactionTask.java:192)
~[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:74)
~[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:235)
~[main/:na]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[na:1.7.0_67]
        at java.util.concurrent.FutureTask.run(FutureTask.java:262) ~[na:1.7.0_67]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
~[na:1.7.0_67]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[na:1.7.0_67]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_67]
{noformat}

This only seems to be occurring on one test (intermittently), and only seems to happen after
an upgrade to 2.1 or trunk (not on 2.1.0).

To run the test:
{noformat}
export PRINT_DEBUG=true
export UPGRADE_PATH="cassandra-1.2:cassandra-2.0:cassandra-2.1.0:trunk"
nosetests -vs upgrade_through_versions_test.py:TestRandomPartitionerUpgrade.upgrade_test
{noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message