cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-8796) 'nodetool info' prints exception against older node
Date Thu, 12 Feb 2015 20:04:11 GMT

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

Robert Stupp updated CASSANDRA-8796:
------------------------------------
    Attachment: 8796-2.1.txt
                8796-2.0.txt

Attached patches for 2.0 + 2.1.
Both work against a 2.1.2 instance.

Note: {{nodetool cfstats}} was also affected

> 'nodetool info' prints exception against older node
> ---------------------------------------------------
>
>                 Key: CASSANDRA-8796
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8796
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Robert Stupp
>            Assignee: Robert Stupp
>            Priority: Minor
>         Attachments: 8796-2.0.txt, 8796-2.1.txt
>
>
> {{nodetool info}} from current 2.1 branch (2.1.3) issued against a 2.1.2 node prints
the following:
> {noformat}
> bin/nodetool info
> objc[57382]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/bin/java
and /Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/libinstrument.dylib.
One of the two will be used. Which one is undefined.
> ID                     : 28b5c1dd-1822-412a-aa16-11f35438e464
> Gossip active          : true
> Thrift active          : true
> Native Transport active: true
> Load                   : 41,1 KB
> Generation No          : 1423767989
> Uptime (seconds)       : 258
> Heap Memory (MB)       : 183,07 / 4016,00
> error: org.apache.cassandra.metrics:type=ColumnFamily,keyspace=system,scope=IndexInfo,name=BloomFilterOffHeapMemoryUsed
> -- StackTrace --
> javax.management.InstanceNotFoundException: org.apache.cassandra.metrics:type=ColumnFamily,keyspace=system,scope=IndexInfo,name=BloomFilterOffHeapMemoryUsed
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1095)
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:643)
> 	at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:678)
> 	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1464)
> 	at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97)
> 	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1328)
> 	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1420)
> 	at javax.management.remote.rmi.RMIConnectionImpl.getAttribute(RMIConnectionImpl.java:657)
> 	at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
> 	at sun.rmi.transport.Transport$2.run(Transport.java:202)
> 	at sun.rmi.transport.Transport$2.run(Transport.java:199)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at sun.rmi.transport.Transport.serviceCall(Transport.java:198)
> 	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:567)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.access$400(TCPTransport.java:619)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:684)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:681)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:681)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at java.lang.Thread.run(Thread.java:745)
> 	at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
> 	at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
> 	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
> 	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:906)
> 	at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:267)
> 	at com.sun.proxy.$Proxy19.getValue(Unknown Source)
> 	at org.apache.cassandra.tools.NodeProbe.getColumnFamilyMetric(NodeProbe.java:1047)
> 	at org.apache.cassandra.tools.NodeTool$Info.getOffHeapMemoryUsed(NodeTool.java:443)
> 	at org.apache.cassandra.tools.NodeTool$Info.execute(NodeTool.java:373)
> 	at org.apache.cassandra.tools.NodeTool$NodeToolCmd.run(NodeTool.java:250)
> 	at org.apache.cassandra.tools.NodeTool.main(NodeTool.java:164)
> {noformat}
> From 2.1.2 it looks like:
> {noformat}
> bin/nodetool info
> objc[57525]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/bin/java
and /Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/libinstrument.dylib.
One of the two will be used. Which one is undefined.
> ID               : 28b5c1dd-1822-412a-aa16-11f35438e464
> Gossip active    : true
> Thrift active    : true
> Native Transport active: true
> Load             : 41,1 KB
> Generation No    : 1423767989
> Uptime (seconds) : 292
> Heap Memory (MB) : 186,72 / 4016,00
> Data Center      : datacenter1
> Rack             : rack1
> Exceptions       : 0
> Key Cache        : entries 8, size 600 bytes, capacity 100 MB, 14 hits, 21 requests,
0,667 recent hit rate, 14400 save period in seconds
> Row Cache        : entries 0, size 0 bytes, capacity 0 bytes, 0 hits, 0 requests, NaN
recent hit rate, 0 save period in seconds
> Counter Cache    : entries 0, size 0 bytes, capacity 50 MB, 0 hits, 0 requests, NaN recent
hit rate, 7200 save period in seconds
> Token            : (invoke with -T/--tokens to see all 256 tokens)
> {noformat}
> I.e. cache and token information is missing.



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

Mime
View raw message