[jira] [Commented] (CASSANDRA-10898) Migrate Compaction Strategy Node by Node
[ https://issues.apache.org/jira/browse/CASSANDRA-10898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17438881#comment-17438881 ] developthou commented on CASSANDRA-10898: - I wanted to try this but I am running into the following error {code:java} ALTER TABLE mytable1 with compaction = {'class' : 'SizeTieredCompaction', 'exceptions' : { 10.1.1.1 : {'class' : 'TimeWindowCompactionStrategy'} } }; SyntaxException: line 1:103 no viable alternative at input '.' (...'SizeTieredCompaction', 'exceptions' : { 10.1[.]...){code} I am not able to find any documentation. Can you please help? I am in Cassandra {noformat} 3.11.5{noformat} > Migrate Compaction Strategy Node by Node > > > Key: CASSANDRA-10898 > URL: https://issues.apache.org/jira/browse/CASSANDRA-10898 > Project: Cassandra > Issue Type: Improvement > Components: Legacy/Tools, Local/Compaction >Reporter: Andrew From >Priority: Normal > > It would be a great feature to be able to slowly change the compaction > strategy of a ColumnFamily node-by-node instead of cluster wide. Currently if > you change it cluster wide there's no good way to predict how long it will > take. Thus the process could run for days while you still need the live data, > but the cluster responds much more slowly due to the compaction strategy > migration. > I stumbled across > http://blog.alteroot.org/articles/2015-04-20/change-cassandra-compaction-strategy-on-production-cluster.html > which gave me the idea. I was thinking this would be a nice feature to add > to NodeTool, provided that the strategy in the blog is sound I wouldn't mind > going ahead with the dev work to automate it. If not I would love to hear > other ideas on how to best make this happen. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-16243) LEAK DETECTED: was not released before the reference was garbage collected
[ https://issues.apache.org/jira/browse/CASSANDRA-16243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] developthou updated CASSANDRA-16243: Description: Hello, I am getting the following errors and I am running 3.11.5 {code:java} LEAK DETECTED: a reference (org.apache.cassandra.utils.concurrent.Ref$State@356cb07f) to class org.apache.cassandra.io.util.SafeMemory$MemoryTidy@1709177197:Memory@[7e7a3b64b910..7e7a3b96b910) was not released before the reference was garbage collected ERROR [CompactionExecutor:3763] 2020-11-02 02:34:53,316 CassandraDaemon.java:228 - Exception in thread Thread[CompactionExecutor:3763,1,main] org.apache.cassandra.io.FSReadError: java.io.IOException: Map failed at org.apache.cassandra.io.util.ChannelProxy.map(ChannelProxy.java:157) ~[apache-cassandra-3.11.5.jar:3.11.5] at org.apache.cassandra.io.util.MmappedRegions$State.add(MmappedRegions.java:310) ~[apache-cassandra-3.11.5.jar:3.11.5] at org.apache.cassandra.io.util.MmappedRegions$State.access$400(MmappedRegions.java:246) ~[apache-cassandra-3.11.5.jar:3.11.5] at org.apache.cassandra.io.util.MmappedRegions.updateState(MmappedRegions.java:170) ~[apache-cassandra-3.11.5.jar:3.11.5] at org.apache.cassandra.io.util.MmappedRegions.(MmappedRegions.java:73) ~[apache-cassandra-3.11.5.jar:3.11.5] at org.apache.cassandra.io.util.MmappedRegions.(MmappedRegions.java:61) ~[apache-cassandra-3.11.5.jar:3.11.5] at org.apache.cassandra.io.util.MmappedRegions.map(MmappedRegions.java:104) ~[apache-cassandra-3.11.5.jar:3.11.5] at org.apache.cassandra.io.util.FileHandle$Builder.complete(FileHandle.java:362) ~[apache-cassandra-3.11.5.jar:3.11.5] at org.apache.cassandra.io.sstable.format.big.BigTableWriter.openEarly(BigTableWriter.java:290) ~[apache-cassandra-3.11.5.jar:3.11.5] at org.apache.cassandra.io.sstable.SSTableRewriter.maybeReopenEarly(SSTableRewriter.java:180) ~[apache-cassandra-3.11.5.jar:3.11.5] at org.apache.cassandra.io.sstable.SSTableRewriter.append(SSTableRewriter.java:135) ~[apache-cassandra-3.11.5.jar:3.11.5] at org.apache.cassandra.db.compaction.writers.DefaultCompactionWriter.realAppend(DefaultCompactionWriter.java:65) ~[apache-cassandra-3.11.5.jar:3.11.5] at org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.append(CompactionAwareWriter.java:142) ~[apache-cassandra-3.11.5.jar:3.11.5] at org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:201) ~[apache-cassandra-3.11.5.jar:3.11.5] at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) ~[apache-cassandra-3.11.5.jar:3.11.5] at org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:85) ~[apache-cassandra-3.11.5.jar:3.11.5] at org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:61) ~[apache-cassandra-3.11.5.jar:3.11.5] at org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.run(CompactionManager.java:268) ~[apache-cassandra-3.11.5.jar:3.11.5] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_60] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_60] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_60] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_60] at org.apache.cassandra.concurrent.NamedThreadFactory.lambda$threadLocalDeallocator$0(NamedThreadFactory.java:84) [apache-cassandra-3.11.5.jar:3.11.5] at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_60] Caused by: java.io.IOException: Map failed at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:939) ~[na:1.8.0_60] at org.apache.cassandra.io.util.ChannelProxy.map(ChannelProxy.java:153) ~[apache-cassandra-3.11.5.jar:3.11.5] ... 23 common frames omitted Caused by: java.lang.OutOfMemoryError: Map failed at sun.nio.ch.FileChannelImpl.map0(Native Method) ~[na:1.8.0_60] at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:936) ~[na:1.8.0_60] ... 24 common frames omitted WARN [GossipTasks:1] 2020-11-02 02:34:53,302 FailureDetector.java:278 - Not marking nodes down due to local pause of 7468254535 > 50 ERROR [Reference-Reaper] 2020-11-02 02:34:53,208 Ref.java:229 - LEAK DETECTED: a reference (org.apache.cassandra.utils.concurrent.Ref$State@33fef449) to class org.apache.cassandra.io.util.FileHandle$Cleanup@1098210945:/data/cassandra/data/elvisevallogks/decision_detail-7351f6205f3811ea922ce1efeeba3e49/md-3695-big-Index.db was not released before the reference was garbage collected ERROR [CompactionExecutor:3762] 2020-11-02 02:34:53,208 CassandraDaemon.jav
[jira] [Updated] (CASSANDRA-16242) LEAK DETECTED: was not released before the reference was garbage collected
[ https://issues.apache.org/jira/browse/CASSANDRA-16242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] developthou updated CASSANDRA-16242: Resolution: Invalid Status: Resolved (was: Triage Needed) > LEAK DETECTED: was not released before the reference was garbage collected > --- > > Key: CASSANDRA-16242 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16242 > Project: Cassandra > Issue Type: Task >Reporter: developthou >Priority: Normal > > Hello, > I am getting the following errors and I am running 3.11.5 > {code:java} > LEAK DETECTED: a reference > (org.apache.cassandra.utils.concurrent.Ref$State@356cb07f) to class > org.apache.cassandra.io.util.SafeMemory$MemoryTidy@1709177197:Memory@[7e7a3b64b910..7e7a3b96b910) > was not released before the reference was garbage collected > ERROR [CompactionExecutor:3763] 2020-11-02 02:34:53,316 > CassandraDaemon.java:228 - Exception in thread > Thread[CompactionExecutor:3763,1,main] > org.apache.cassandra.io.FSReadError: java.io.IOException: Map failed > at > org.apache.cassandra.io.util.ChannelProxy.map(ChannelProxy.java:157) > ~[apache-cassandra-3.11.5.jar:3.11.5] > at > org.apache.cassandra.io.util.MmappedRegions$State.add(MmappedRegions.java:310) > ~[apache-cassandra-3.11.5.jar:3.11.5] > at > org.apache.cassandra.io.util.MmappedRegions$State.access$400(MmappedRegions.java:246) > ~[apache-cassandra-3.11.5.jar:3.11.5] > at > org.apache.cassandra.io.util.MmappedRegions.updateState(MmappedRegions.java:170) > ~[apache-cassandra-3.11.5.jar:3.11.5] > at > org.apache.cassandra.io.util.MmappedRegions.(MmappedRegions.java:73) > ~[apache-cassandra-3.11.5.jar:3.11.5] > at > org.apache.cassandra.io.util.MmappedRegions.(MmappedRegions.java:61) > ~[apache-cassandra-3.11.5.jar:3.11.5] > at > org.apache.cassandra.io.util.MmappedRegions.map(MmappedRegions.java:104) > ~[apache-cassandra-3.11.5.jar:3.11.5] > at > org.apache.cassandra.io.util.FileHandle$Builder.complete(FileHandle.java:362) > ~[apache-cassandra-3.11.5.jar:3.11.5] > at > org.apache.cassandra.io.sstable.format.big.BigTableWriter.openEarly(BigTableWriter.java:290) > ~[apache-cassandra-3.11.5.jar:3.11.5] > at > org.apache.cassandra.io.sstable.SSTableRewriter.maybeReopenEarly(SSTableRewriter.java:180) > ~[apache-cassandra-3.11.5.jar:3.11.5] > at > org.apache.cassandra.io.sstable.SSTableRewriter.append(SSTableRewriter.java:135) > ~[apache-cassandra-3.11.5.jar:3.11.5] > at > org.apache.cassandra.db.compaction.writers.DefaultCompactionWriter.realAppend(DefaultCompactionWriter.java:65) > ~[apache-cassandra-3.11.5.jar:3.11.5] > at > org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.append(CompactionAwareWriter.java:142) > ~[apache-cassandra-3.11.5.jar:3.11.5] > at > org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:201) > ~[apache-cassandra-3.11.5.jar:3.11.5] > at > org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) > ~[apache-cassandra-3.11.5.jar:3.11.5] > at > org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:85) > ~[apache-cassandra-3.11.5.jar:3.11.5] > at > org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:61) > ~[apache-cassandra-3.11.5.jar:3.11.5] > at > org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.run(CompactionManager.java:268) > ~[apache-cassandra-3.11.5.jar:3.11.5] > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_60] > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > ~[na:1.8.0_60] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > ~[na:1.8.0_60] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > [na:1.8.0_60] > at > org.apache.cassandra.concurrent.NamedThreadFactory.lambda$threadLocalDeallocator$0(NamedThreadFactory.java:84) > [apache-cassandra-3.11.5.jar:3.11.5] > at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_60] > Caused by: java.io.IOException: Map failed > at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:939) > ~[na:1.8.0_60] > at > org.apache.cassandra.io.util.ChannelProxy.map(ChannelProxy.java:153) > ~[apache-cassandra-3.11.5.jar:3.11.5] > ... 23 common frames omitted > Caused by: java.lang.OutOfMemoryError: Map failed > at sun.nio.ch.FileChannelImpl.map0(Native Method) ~[na:1.8.0_60] > at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:936) > ~[na:1.8.0_60] >
[jira] [Created] (CASSANDRA-16243) LEAK DETECTED: was not released before the reference was garbage collected
developthou created CASSANDRA-16243: --- Summary: LEAK DETECTED: was not released before the reference was garbage collected Key: CASSANDRA-16243 URL: https://issues.apache.org/jira/browse/CASSANDRA-16243 Project: Cassandra Issue Type: Bug Reporter: developthou LEAK DETECTED: a reference (org.apache.cassandra.utils.concurrent.Ref$State@6005694c) to class org.apache.cassandra.io.util.FileHandle$Cleanu -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org