cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stone (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-9555) Don't let offline tools run while cassandra is running
Date Wed, 01 Jun 2016 07:13:00 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-9555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15309437#comment-15309437
] 

stone edited comment on CASSANDRA-9555 at 6/1/16 7:12 AM:
----------------------------------------------------------

I run sstableexpiredblocker tools in standalone cassandra environment,there is no problem.
but when i run in docker,I got this assert error.
ERROR 09:26:49 Error in ThreadPoolExecutor
java.lang.AssertionError: null
        at org.apache.cassandra.db.Keyspace.open(Keyspace.java:106) ~[apache-cassandra-3.3.jar:3.6-SNAPSHOT]
        at org.apache.cassandra.service.StorageService.getRangesForEndpoint(StorageService.java:3401)
~[apache-cassandra-3.3.jar:3.6-SNAPSHOT]
        at org.apache.cassandra.service.StorageService.getLocalRanges(StorageService.java:233)
~[apache-cassandra-3.3.jar:3.6-SNAPSHOT]
        at org.apache.cassandra.db.view.ViewBuilder.getCompactionInfo(ViewBuilder.java:198)
~[apache-cassandra-3.3.jar:3.6-SNAPSHOT]
        at org.apache.cassandra.db.compaction.CompactionInfo$Holder.started(CompactionInfo.java:158)
~[apache-cassandra-3.3.jar:3.6-SNAPSHOT]
        at org.apache.cassandra.metrics.CompactionMetrics.beginCompaction(CompactionMetrics.java:140)
~[apache-cassandra-3.3.jar:3.6-SNAPSHOT]
        at org.apache.cassandra.db.compaction.CompactionManager$14.run(CompactionManager.java:1556)
~[apache-cassandra-3.3.jar:3.6-SNAPSHOT]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_72-internal]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_72-internal]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
~[na:1.8.0_72-internal]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[na:1.8.0_72-internal]
        at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72-internal]

at first I thought it related to cassandra status,I run the tool when cassandra is running.
but this exception always reproduce in docker environment,but not standalone environment.

I dont know why the async compaction task happen only in my docker env,



was (Author: stone):
I run sstableexpiredblocker tools in standalone cassandra environment,there is no problem.
but when i run in docker,I got this assert error.
ERROR 09:26:49 Error in ThreadPoolExecutor
java.lang.AssertionError: null
        at org.apache.cassandra.db.Keyspace.open(Keyspace.java:106) ~[apache-cassandra-3.3.jar:3.6-SNAPSHOT]
        at org.apache.cassandra.service.StorageService.getRangesForEndpoint(StorageService.java:3401)
~[apache-cassandra-3.3.jar:3.6-SNAPSHOT]
        at org.apache.cassandra.service.StorageService.getLocalRanges(StorageService.java:233)
~[apache-cassandra-3.3.jar:3.6-SNAPSHOT]
        at org.apache.cassandra.db.view.ViewBuilder.getCompactionInfo(ViewBuilder.java:198)
~[apache-cassandra-3.3.jar:3.6-SNAPSHOT]
        at org.apache.cassandra.db.compaction.CompactionInfo$Holder.started(CompactionInfo.java:158)
~[apache-cassandra-3.3.jar:3.6-SNAPSHOT]
        at org.apache.cassandra.metrics.CompactionMetrics.beginCompaction(CompactionMetrics.java:140)
~[apache-cassandra-3.3.jar:3.6-SNAPSHOT]
        at org.apache.cassandra.db.compaction.CompactionManager$14.run(CompactionManager.java:1556)
~[apache-cassandra-3.3.jar:3.6-SNAPSHOT]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_72-internal]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_72-internal]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
~[na:1.8.0_72-internal]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[na:1.8.0_72-internal]
        at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72-internal]

> Don't let offline tools run while cassandra is running
> ------------------------------------------------------
>
>                 Key: CASSANDRA-9555
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9555
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Marcus Eriksson
>            Assignee: Robert Stupp
>            Priority: Minor
>             Fix For: 3.x
>
>
> We should not let offline tools that modify sstables run while Cassandra is running.




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

Mime
View raw message