java.lang.IllegalStateException: Scylla API server HTTP POST to URL '/storage_service/repair_async/keyspace1' failed: unsupported repair parallelism: 2

GitHub | slivne | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    nodetool repair -dcpar flag is not supported

    GitHub | 7 months ago | slivne
    java.lang.IllegalStateException: Scylla API server HTTP POST to URL '/storage_service/repair_async/keyspace1' failed: unsupported repair parallelism: 2

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Scylla API server HTTP POST to URL '/storage_service/repair_async/keyspace1' failed: unsupported repair parallelism: 2

      at com.scylladb.jmx.api.APIClient.getException()
    2. com.scylladb.jmx
      APIClient.postInt
      1. com.scylladb.jmx.api.APIClient.getException(APIClient.java:124)
      2. com.scylladb.jmx.api.APIClient.post(APIClient.java:111)
      3. com.scylladb.jmx.api.APIClient.postGetVal(APIClient.java:128)
      4. com.scylladb.jmx.api.APIClient.postInt(APIClient.java:132)
      4 frames
    3. org.apache.cassandra
      StorageService.forceRepairAsync
      1. org.apache.cassandra.service.StorageService.repairAsync(StorageService.java:731)
      2. org.apache.cassandra.service.StorageService.forceRepairAsync(StorageService.java:1423)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    5. MX4J
      ChainedMBeanServer.invoke
      1. mx4j.server.ReflectionMBeanInvoker.invokeImpl(ReflectionMBeanInvoker.java:156)
      2. mx4j.server.ReflectionMBeanInvoker.doInvoke(ReflectionMBeanInvoker.java:117)
      3. mx4j.server.ReflectionMBeanInvoker.invoke(ReflectionMBeanInvoker.java:52)
      4. mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:238)
      5. mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
      6. mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:84)
      7. mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
      8. mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
      9. mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:203)
      10. mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1043)
      11. mx4j.server.ChainedMBeanServer.invoke(ChainedMBeanServer.java:196)
      11 frames
    6. Java RT
      Thread.run
      1. javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
      2. javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
      3. javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
      4. javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
      5. javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
      6. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      7. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      8. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      9. java.lang.reflect.Method.invoke(Method.java:498)
      10. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
      11. sun.rmi.transport.Transport$1.run(Transport.java:200)
      12. sun.rmi.transport.Transport$1.run(Transport.java:197)
      13. java.security.AccessController.doPrivileged(Native Method)
      14. sun.rmi.transport.Transport.serviceCall(Transport.java:196)
      15. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
      16. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
      17. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
      18. java.security.AccessController.doPrivileged(Native Method)
      19. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
      20. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      21. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      22. java.lang.Thread.run(Thread.java:745)
      22 frames