spotify / cassandra-reaper

Software to run automated repairs of cassandra
235 stars 60 forks source link

Does it support Cassandra 3.11? #153

Open Ritu-Thakur opened 7 years ago

Ritu-Thakur commented 7 years ago

Getting issue while using it with Cassandra 3.11:

WARN [2017-07-27 04:16:44,669] [testcluster:1:355] c.s.r.s.SegmentRunner - SegmentRunner declined to repair segment 355 because of an error collecting information from one of the hosts (127.0.0.1): {} java.lang.reflect.UndeclaredThrowableException: null at com.sun.proxy.$Proxy51.getPendingTasks(Unknown Source) ˜[na:1.8.0-internal] at com.spotify.reaper.cassandra.JmxProxy.getPendingCompactions(JmxProxy.java:259) ˜[cassandra-reaper-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT] at com.spotify.reaper.service.SegmentRunner.canRepair(SegmentRunner.java:262) [cassandra-reaper-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT] at com.spotify.reaper.service.SegmentRunner.runRepair(SegmentRunner.java:178) [cassandra-reaper-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT] at com.spotify.reaper.service.SegmentRunner.run(SegmentRunner.java:96) [cassandra-reaper-1.1.1-SNAPSHOT.jar:1.1.1-SNAPSHOT] Caused by: javax.management.AttributeNotFoundException: No such attribute: PendingTasks at com.sun.jmx.mbeanserver.PerInterface.getAttribute(PerInterface.java:93) ˜[na:1.8.0-internal] at com.sun.jmx.mbeanserver.MBeanSupport.getAttribute(MBeanSupport.java:218) ˜[na:1.8.0-internal] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:659) ˜[na:1.8.0-internal] at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:690) ˜[na:1.8.0-internal]

deniszh commented 7 years ago

Try TLP fork (https://github.com/thelastpickle/cassandra-reaper) - maybe it works.

mrwulf commented 7 years ago

I can confirm the TLP fork works with 3.11.0.