nayden kolev created CASSANDRA-7108:
---------------------------------------

             Summary: Enabling the "Repair Service" in OpsCenter generates 
imprecise repair errors
                 Key: CASSANDRA-7108
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7108
             Project: Cassandra
          Issue Type: Bug
         Environment: Ubuntu 12.04, 12.10, 14.04
DSE version: 4.0.0
Cassandra version: 2.0.5.x (x = multiple, e.g. 22, 24)


            Reporter: nayden kolev


Enabling the "Repair Service" in OpsCenter seems to trigger an error on every 
node, logged every few minutes (sample below). This does not happen if a 
"nodetool repair <keyspace>" command is issued. I have been able to reproduce 
it on 4 separate clusters over the past month or so, all of them running the 
latest DSE and Cassandra (2.0.5+)

Error logged
 INFO [RMI TCP Connection(1350)-127.0.0.1] 2014-04-29 18:22:17,705 
StorageService.java (line 2539) Starting repair command #6311, repairing 1 
ranges for keyspace OpsCenter
ERROR [RMI TCP Connection(1350)-127.0.0.1] 2014-04-29 18:22:17,710 
StorageService.java (line 2560) Repair session failed:
java.lang.IllegalArgumentException: Requested range intersects a local range 
but is not fully contained in one; this would lead to imprecise repair
        at 
org.apache.cassandra.service.ActiveRepairService.getNeighbors(ActiveRepairService.java:164)
        at 
org.apache.cassandra.repair.RepairSession.<init>(RepairSession.java:128)
        at 
org.apache.cassandra.repair.RepairSession.<init>(RepairSession.java:117)
        at 
org.apache.cassandra.service.ActiveRepairService.submitRepairSession(ActiveRepairService.java:97)
        at 
org.apache.cassandra.service.StorageService.forceKeyspaceRepair(StorageService.java:2620)
        at 
org.apache.cassandra.service.StorageService$5.runMayThrow(StorageService.java:2556)
        at 
org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at 
org.apache.cassandra.service.StorageService.forceKeyspaceRepairRange(StorageService.java:2519)
        at 
org.apache.cassandra.service.StorageService.forceKeyspaceRepairRange(StorageService.java:2512)
        at sun.reflect.GeneratedMethodAccessor97.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:75)
        at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:279)
        at 
com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112)
        at 
com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46)
        at 
com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)
        at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
        at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
        at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
        at 
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
        at 
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1487)
        at 
javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97)
        at 
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1328)
        at 
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1420)
        at 
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:848)
        at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
        at sun.rmi.transport.Transport$1.run(Transport.java:177)
        at sun.rmi.transport.Transport$1.run(Transport.java:174)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
        at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:556)
        at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:811)
        at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:670)
        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)




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

Reply via email to