cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shobana (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6858) Strange Exception on cassandra node restart
Date Sat, 26 Apr 2014 19:09:15 GMT

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

shobana commented on CASSANDRA-6858:
------------------------------------

Thanks Brandon. 

I do not get this error when i do ctrl+c and then start cassandra again. I get another error
though - "corrupt sstable". See below:
 
ERROR [SSTableBatchOpen:1] 2014-04-26 13:54:46,319 SSTableReader.java:431 - Corrupt sstable
/var/lib/cassandra/data/system/local-7ad54392bcdd35a684174e047860b377/system-local-ka-9=[CompressionInfo.db,
Summary.db, TOC.txt, Statistics.db, Digest.sha1, Data.db, Index.db, Filter.db]; skipped
java.io.EOFException: null
        at org.apache.cassandra.io.util.AbstractDataInput.readBoolean(AbstractDataInput.java:53)
~[main/:na]
        at org.apache.cassandra.io.sstable.metadata.StatsMetadata$StatsMetadataSerializer.deserialize(StatsMetadata.java:265)
~[main/:na]
        at org.apache.cassandra.io.sstable.metadata.StatsMetadata$StatsMetadataSerializer.deserialize(StatsMetadata.java:194)
~[main/:na]
        at org.apache.cassandra.io.sstable.metadata.MetadataSerializer.deserialize(MetadataSerializer.java:120)
~[main/:na]
        at org.apache.cassandra.io.sstable.metadata.MetadataSerializer.deserialize(MetadataSerializer.java:92)
~[main/:na]
        at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:365) ~[main/:na]
        at org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:293) ~[main/:na]
        at org.apache.cassandra.io.sstable.SSTableReader$4.run(SSTableReader.java:427) ~[main/:na]
        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]

But not the InstanceNotFoundException. 
Can someone pl tell me what steps help reproduce the issue ? 

Thanks

> Strange Exception on cassandra node restart
> -------------------------------------------
>
>                 Key: CASSANDRA-6858
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6858
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Viktor Kuzmin
>            Priority: Trivial
>
> Strange exception on cassandra restart. It seems that it is not bad, but any exception
is not good.
> {code}
>  WARN [MutationStage:169] 2014-03-14 21:14:52,723 JmxReporter.java (line 397) Error processing
org.apache.cassandra.metrics:type=Connection,scope=95.163.80.90,name=CommandPendingTasks
> javax.management.InstanceNotFoundException: org.apache.cassandra.metrics:type=Connection,scope=95.163.80.90,name=CommandPendingTasks
>         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1095)
>         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.exclusiveUnregisterMBean(DefaultMBeanServerInterceptor.java:427)
>         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:415)
>         at com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:546)
>         at com.yammer.metrics.reporting.JmxReporter.registerBean(JmxReporter.java:462)
>         at com.yammer.metrics.reporting.JmxReporter.processGauge(JmxReporter.java:438)
>         at com.yammer.metrics.reporting.JmxReporter.processGauge(JmxReporter.java:16)
>         at com.yammer.metrics.core.Gauge.processWith(Gauge.java:28)
>         at com.yammer.metrics.reporting.JmxReporter.onMetricAdded(JmxReporter.java:395)
>         at com.yammer.metrics.core.MetricsRegistry.notifyMetricAdded(MetricsRegistry.java:516)
>         at com.yammer.metrics.core.MetricsRegistry.getOrAdd(MetricsRegistry.java:491)
>         at com.yammer.metrics.core.MetricsRegistry.newGauge(MetricsRegistry.java:79)
>         at com.yammer.metrics.Metrics.newGauge(Metrics.java:70)
>         at org.apache.cassandra.metrics.ConnectionMetrics.<init>(ConnectionMetrics.java:71)
>         at org.apache.cassandra.net.OutboundTcpConnectionPool.<init>(OutboundTcpConnectionPool.java:55)
>         at org.apache.cassandra.net.MessagingService.getConnectionPool(MessagingService.java:493)
>         at org.apache.cassandra.net.MessagingService.getConnection(MessagingService.java:507)
>         at org.apache.cassandra.net.MessagingService.sendOneWay(MessagingService.java:639)
>         at org.apache.cassandra.net.MessagingService.sendReply(MessagingService.java:613)
>         at org.apache.cassandra.db.RowMutationVerbHandler.doVerb(RowMutationVerbHandler.java:59)
>         at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:60)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:744)
> {code}



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

Mime
View raw message