cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Francois Gosselin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9625) GraphiteReporter not reporting
Date Mon, 05 Oct 2015 14:51:27 GMT

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

Jean-Francois Gosselin commented on CASSANDRA-9625:
---------------------------------------------------

I ran into another assert that breaks the GraphiteReporter on 2.1.9 . When SSTableReader.getApproximateKeyCount
is called, how can I get in a state where the CompactionMetadata is null ?

{code:title=SSTableReader.java|borderStyle=solid}
276                try
278                {
279                    CompactionMetadata metadata = (CompactionMetadata) sstable.descriptor.getMetadataSerializer().deserialize(sstable.descriptor,
MetadataType.COMPACTION);
280                    assert metadata != null : sstable.getFilename();
281                    if (cardinality == null)
{code}

{noformat}
	at org.apache.cassandra.io.sstable.SSTableReader.getApproximateKeyCount(SSTableReader.java:279)

	at org.apache.cassandra.metrics.ColumnFamilyMetrics$9.value(ColumnFamilyMetrics.java:296)

	at org.apache.cassandra.metrics.ColumnFamilyMetrics$9.value(ColumnFamilyMetrics.java:290)

	at com.yammer.metrics.reporting.GraphiteReporter.processGauge(GraphiteReporter.java:292)

	at com.yammer.metrics.reporting.GraphiteReporter.processGauge(GraphiteReporter.java:27) 
	at com.yammer.metrics.core.Gauge.processWith(Gauge.java:28) 
	at com.yammer.metrics.reporting.GraphiteReporter.printRegularMetrics(GraphiteReporter.java:235)

	at com.yammer.metrics.reporting.GraphiteReporter.run(GraphiteReporter.java:199) 
{noformat}




> GraphiteReporter not reporting
> ------------------------------
>
>                 Key: CASSANDRA-9625
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9625
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Debian Jessie, 7u79-2.5.5-1~deb8u1, Cassandra 2.1.3
>            Reporter: Eric Evans
>         Attachments: metrics.yaml, thread-dump.log
>
>
> When upgrading from 2.1.3 to 2.1.6, the Graphite metrics reporter stops working.  The
usual startup is logged, and one batch of samples is sent, but the reporting interval comes
and goes, and no other samples are ever sent.  The logs are free from errors.
> Frustratingly, metrics reporting works in our smaller (staging) environment on 2.1.6;
We are able to reproduce this on all 6 of production nodes, but not on a 3 node (otherwise
identical) staging cluster (maybe it takes a certain level of concurrency?).
> Attached is a thread dump, and our metrics.yaml.



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

Mime
View raw message