Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 25465 invoked from network); 23 Sep 2010 20:35:13 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Sep 2010 20:35:13 -0000 Received: (qmail 16728 invoked by uid 500); 23 Sep 2010 20:35:13 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 16712 invoked by uid 500); 23 Sep 2010 20:35:12 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 16704 invoked by uid 99); 23 Sep 2010 20:35:12 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Sep 2010 20:35:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Sep 2010 20:34:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8NKYXQ3009550 for ; Thu, 23 Sep 2010 20:34:33 GMT Message-ID: <22825362.371891285274073144.JavaMail.jira@thor> Date: Thu, 23 Sep 2010 16:34:33 -0400 (EDT) From: "Brandon Williams (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Updated: (CASSANDRA-1540) cfstats is broken In-Reply-To: <32873028.370381285270654400.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-1540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brandon Williams updated CASSANDRA-1540: ---------------------------------------- Attachment: 1540.txt Patch to register the mbean name correctly. > cfstats is broken > ----------------- > > Key: CASSANDRA-1540 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1540 > Project: Cassandra > Issue Type: Bug > Affects Versions: 0.7 beta 2 > Reporter: Brandon Williams > Assignee: Brandon Williams > Fix For: 0.7 beta 2 > > Attachments: 1540.txt > > > There appears to be a problem reading the cache stats: > bin/nodetool -h cassandra-6 cfstats > Keyspace: org.apache.cassandra.db.Table@620a3d3b > Read Count: 9 > Read Latency: 2.563222222222222 ms. > Write Count: 11 > Write Latency: 0.1572727272727273 ms. > Pending Tasks: 0 > Column Family: LocationInfo > SSTable count: 1 > Space used (live): 4886 > Space used (total): 4886 > Memtable Columns Count: 6 > Memtable Data Size: 179 > Memtable Switch Count: 1 > Read Count: 4 > Read Latency: 5.369 ms. > Write Count: 8 > Write Latency: 0.210 ms. > Pending Tasks: 0 > Exception in thread "main" java.lang.reflect.UndeclaredThrowableException > at $Proxy5.getCapacity(Unknown Source) > at org.apache.cassandra.tools.NodeCmd.printColumnFamilyStats(NodeCmd.java:326) > at org.apache.cassandra.tools.NodeCmd.main(NodeCmd.java:439) > Caused by: javax.management.InstanceNotFoundException: org.apache.cassandra.db:type=Caches,keyspace=org.apache.cassandra.db.Table@620a3d3b,cache=LocationInfoKeyCache > at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1118) > at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:679) > at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:672) > at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1426) > at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:90) > at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1284) > at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1382) > at javax.management.remote.rmi.RMIConnectionImpl.getAttribute(RMIConnectionImpl.java:619) > at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322) > at sun.rmi.transport.Transport$1.run(Transport.java:177) > 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:553) > at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808) > at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:636) > at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:273) > at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:251) > at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:160) > at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source) > at javax.management.remote.rmi.RMIConnectionImpl_Stub.getAttribute(Unknown Source) > at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.getAttribute(RMIConnector.java:885) > at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:280) > ... 3 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.