[ 
https://issues.apache.org/jira/browse/CASSANDRA-10627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jim Witschey updated CASSANDRA-10627:
-------------------------------------
    Description: 
I pulled latest bits from HEAD on 10/30. Started Cassandra in Eclipse and tried 
to run "nodetool compact" which resulted in the exception in title. Other 
nodetool commands and cqlsh work fine, so there are no issues with my setup.

Note this works fine on older versions (I tried on 2.1.9 Tag). 

If there are tips on how to debug, happy to submit a patch.

Full stack below:

{code}
 9:08:35.35;E:\DI\cassandra\bin>nodetool compact
error: forceKeyspaceCompaction(java.lang.String, [Ljava.lang.String;)
-- StackTrace --
java.lang.NoSuchMethodException: forceKeyspaceCompaction(java.lang.String, 
[Ljava.lang.String;)
        at com.sun.jmx.mbeanserver.PerInterface.noSuchMethod(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 
Source)
        at javax.management.remote.rmi.RMIConnectionImpl.access$300(Unknown 
Source)
        at 
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown 
Source)
        at 
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown 
Source)
        at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
{code}

  was:
I pulled latest bits from HEAD on 10/30. Started Cassandra in Eclipse and tried 
to run "nodetool compact" which resulted in the exception in title. Other 
nodetool commands and cqlsh work fine, so there are no issues with my setup.

Note this works fine on older versions (I tried on 2.1.9 Tag). 

If there are tips on how to debug, happy to submit a patch.

Full stack below:

 9:08:35.35;E:\DI\cassandra\bin>nodetool compact
error: forceKeyspaceCompaction(java.lang.String, [Ljava.lang.String;)
-- StackTrace --
java.lang.NoSuchMethodException: forceKeyspaceCompaction(java.lang.String, 
[Ljava.lang.String;)
        at com.sun.jmx.mbeanserver.PerInterface.noSuchMethod(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 
Source)
        at javax.management.remote.rmi.RMIConnectionImpl.access$300(Unknown 
Source)
        at 
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown 
Source)
        at 
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown 
Source)
        at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)


> java.lang.NoSuchMethodException: forceKeyspaceCompaction on nodetool compact 
> when running locally
> -------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-10627
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10627
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>         Environment: Development environment.
>            Reporter: Anubhav Kale
>            Priority: Minor
>             Fix For: 3.x
>
>
> I pulled latest bits from HEAD on 10/30. Started Cassandra in Eclipse and 
> tried to run "nodetool compact" which resulted in the exception in title. 
> Other nodetool commands and cqlsh work fine, so there are no issues with my 
> setup.
> Note this works fine on older versions (I tried on 2.1.9 Tag). 
> If there are tips on how to debug, happy to submit a patch.
> Full stack below:
> {code}
>  9:08:35.35;E:\DI\cassandra\bin>nodetool compact
> error: forceKeyspaceCompaction(java.lang.String, [Ljava.lang.String;)
> -- StackTrace --
> java.lang.NoSuchMethodException: forceKeyspaceCompaction(java.lang.String, 
> [Ljava.lang.String;)
>         at com.sun.jmx.mbeanserver.PerInterface.noSuchMethod(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 
> Source)
>         at javax.management.remote.rmi.RMIConnectionImpl.access$300(Unknown 
> Source)
>         at 
> javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown 
> Source)
>         at 
> javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown 
> Source)
>         at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown 
> Source)
>         at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to