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

Navjyot Nishant commented on CASSANDRA-8028:
--------------------------------------------

Hi All,

We are getting similar issue while autocompaction is running on few of our 
nodes. Following is the error being logged, can someone please suggest what is 
causing this and how to resolve it? We use Cassandra 2.1.9. Please let me know 
if further information is required.

Error:

ERROR [CompactionExecutor:3] 2016-01-23 11:54:50,198 CassandraDaemon.java:223 - 
Exception in thread Thread[CompactionExecutor:3,1,main]
java.lang.IllegalStateException: Unable to compute ceiling for max when 
histogram overflowed
        at 
org.apache.cassandra.utils.EstimatedHistogram.mean(EstimatedHistogram.java:203) 
~[apache-cassandra-2.1.9.jar:2.1.9]
        at 
org.apache.cassandra.io.sstable.metadata.StatsMetadata.getEstimatedDroppableTombstoneRatio(StatsMetadata.java:98)
 ~[apache-cassandra-2.1.9.jar:2.1.9]
        at 
org.apache.cassandra.io.sstable.SSTableReader.getEstimatedDroppableTombstoneRatio(SSTableReader.java:1987)
 ~[apache-cassandra-2.1.9.jar:2.1.9]
        at 
org.apache.cassandra.db.compaction.AbstractCompactionStrategy.worthDroppingTombstones(AbstractCompactionStrategy.java:370)
 ~[apache-cassandra-2.1.9.jar:2.1.9]
        at 
org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.getNextBackgroundSSTables(SizeTieredCompactionStrategy.java:96)
 ~[apache-cassandra-2.1.9.jar:2.1.9]
        at 
org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.getNextBackgroundTask(SizeTieredCompactionStrategy.java:179)
 ~[apache-cassandra-2.1.9.jar:2.1.9]
        at 
org.apache.cassandra.db.compaction.WrappingCompactionStrategy.getNextBackgroundTask(WrappingCompactionStrategy.java:84)
 ~[apache-cassandra-2.1.9.jar:2.1.9]
        at 
org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.run(CompactionManager.java:230)
 ~[apache-cassandra-2.1.9.jar:2.1.9]
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 
~[na:1.7.0_51]
        at java.util.concurrent.FutureTask.run(FutureTask.java:262) 
~[na:1.7.0_51]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
~[na:1.7.0_51]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
[na:1.7.0_51]
        at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]


> Unable to compute when histogram overflowed
> -------------------------------------------
>
>                 Key: CASSANDRA-8028
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8028
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>         Environment: Linux
>            Reporter: Gianluca Borello
>            Assignee: Carl Yeksigian
>             Fix For: 2.1.3
>
>         Attachments: 8028-2.1-clean.txt, 8028-2.1-v2.txt, 8028-2.1.txt, 
> 8028-trunk.txt, sstable-histogrambuster.tar.bz2
>
>
> It seems like with 2.1.0 histograms can't be computed most of the times:
> $ nodetool cfhistograms draios top_files_by_agent1
> nodetool: Unable to compute when histogram overflowed
> See 'nodetool help' or 'nodetool help <command>'.
> I can probably find a way to attach a .cql script to reproduce it, but I 
> suspect it must be obvious to replicate it as it happens on more than 50% of 
> my column families.



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

Reply via email to