cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Schnitzerling (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-6462) cleanup ClassCastException
Date Mon, 09 Dec 2013 12:24:10 GMT
Andreas Schnitzerling created CASSANDRA-6462:
------------------------------------------------

             Summary: cleanup ClassCastException
                 Key: CASSANDRA-6462
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6462
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
         Environment: Windows 7 / Java 1.7.0.25
            Reporter: Andreas Schnitzerling
             Fix For: 2.0.4


I enlarged the cluseter from 4 to 8 nodes. During cleaning up the "old" nodes with "nodetool
cleanup" it breaks up with exception. I started cleanup from a different computer to manage
them sequentially.
{panel:title=cmd.exe}
Error occurred during cleanup
java.util.concurrent.ExecutionException: java.lang.ClassCastException: org.apach
e.cassandra.io.sstable.SSTableReader$EmptyCompactionScanner cannot be cast to or
g.apache.cassandra.io.sstable.SSTableScanner
        at java.util.concurrent.FutureTask.report(Unknown Source)
        at java.util.concurrent.FutureTask.get(Unknown Source)
        at org.apache.cassandra.db.compaction.CompactionManager.performAllSSTabl
eOperation(CompactionManager.java:227)
        at org.apache.cassandra.db.compaction.CompactionManager.performCleanup(C
ompactionManager.java:265)
        at org.apache.cassandra.db.ColumnFamilyStore.forceCleanup(ColumnFamilySt
ore.java:1054)
        at org.apache.cassandra.service.StorageService.forceKeyspaceCleanup(Stor
ageService.java:2038)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at sun.reflect.misc.Trampoline.invoke(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at sun.reflect.misc.MethodUtil.invoke(Unknown Source)
        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown So
urce)
        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown So
urce)
        at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Unknown Source)
        at com.sun.jmx.mbeanserver.PerInterface.invoke(Unknown Source)
        at com.sun.jmx.mbeanserver.MBeanSupport.invoke(Unknown Source)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown
Source)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)
        at javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown Sou
rce)
        at javax.management.remote.rmi.RMIConnectionImpl.access$300(Unknown Sour
ce)
        at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run
(Unknown Source)
        at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(U
nknown Source)
        at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
        at sun.rmi.transport.Transport$1.run(Unknown Source)
        at sun.rmi.transport.Transport$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Sou
rce)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Sour
ce)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassCastException: org.apache.cassandra.io.sstable.SSTable
Reader$EmptyCompactionScanner cannot be cast to org.apache.cassandra.io.sstable.
SSTableScanner
        at org.apache.cassandra.db.compaction.CompactionManager.doCleanupCompact
ion(CompactionManager.java:563)
        at org.apache.cassandra.db.compaction.CompactionManager.access$400(Compa
ctionManager.java:62)
        at org.apache.cassandra.db.compaction.CompactionManager$5.perform(Compac
tionManager.java:274)
        at org.apache.cassandra.db.compaction.CompactionManager$2.call(Compactio
nManager.java:222)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        ... 3 more
{panel}



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message