cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Morton <>
Subject MessagingServiceMBean does not support o.a.c.concurrent task counts
Date Wed, 29 Sep 2010 21:37:26 GMT
Running the current 0.7.0-beta2 #3 build, I get the error below when checking tpstats via node_tool. 

The MessagingService is registering itself as a mbean in org.apache.cassandra.concurrent,
and the MessagingServiceMBean interface does not support the getActiveCount(), getCompletedTasks()
and getPendingTasks() functions of the IExecutorMBean. 

Out of interest should it be registering the JMXEnabledThreadPoolExecutor it created on line
105, or should it be registered elsewhere?

It's still possible to view the task pool info through jconsole. 

I'll create a bug when Jira finishes re-indexing :)

Pool Name                    Active   Pending      Completed
MIGRATION_STAGE                   0         0             17
GOSSIP_STAGE                      0         0              0
MESSAGING-SERVICE-POOL   Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
        at $Proxy4.getActiveCount(Unknown Source)
Caused by: No such attribute: ActiveCount
        at com.sun.jmx.mbeanserver.PerInterface.getAttribute(
        at com.sun.jmx.mbeanserver.MBeanSupport.getAttribute(
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(
        at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(
        at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at sun.rmi.server.UnicastServerRef.dispatch(
        at sun.rmi.transport.Transport$
        at Method)
        at sun.rmi.transport.Transport.serviceCall(
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(
        at sun.rmi.transport.tcp.TCPTransport$
        at java.util.concurrent.ThreadPoolExecutor$WorkerrunTask(
        at java.util.concurrent.ThreadPoolExecutor$
        at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(
        at sun.rmi.transport.StreamRemoteCall.executeCall(
        at sun.rmi.server.UnicastRef.invoke(
        at com.sunjmx.remote.internal.PRef.invoke(Unknown Source)
        at Source)
        ... 3 more

  • Unnamed multipart/alternative (inline, None, 0 bytes)
    • Unnamed multipart/related (inline, None, 0 bytes)
View raw message