You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Chris Lohfink (JIRA)" <ji...@apache.org> on 2016/07/22 14:20:21 UTC

[jira] [Updated] (CASSANDRA-12271) NonSystemKeyspaces jmx attribute needs to return jre list

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

Chris Lohfink updated CASSANDRA-12271:
--------------------------------------
    Description: 
If you dont have right guava in classpath you cant query the NonSystemKeyspaces attribute. i.e. jconsole. can reproduce using Swiss java knife:

{code}
# java -jar sjk.jar mx -s localhost:7199 -mg -b "org.apache.cassandra.db:type=StorageService" -f NonSystemKeyspaces

org.apache.cassandra.db:type=StorageService
java.rmi.UnmarshalException: error unmarshalling return; nested exception is: 
	java.lang.ClassNotFoundException: com.google.common.collect.ImmutableList$SerializedForm (no security manager: RMI class loader disabled)
{code}

If return a ArrayList or LinkedList or anything in JRE this will be fixed

  was:
If you dont have right guava in classpath you cant query the NonSystemKeyspaces attribute. i.e. jconsole. can reproduce using Swiss java knife:

{code}
# java -jar sjk.jar mx -s localhost:7199 -mg -b "org.apache.cassandra.db:type=StorageService" -f NonSystemKeyspaces

org.apache.cassandra.db:type=StorageService
java.rmi.UnmarshalException: error unmarshalling return; nested exception is: 
	java.lang.ClassNotFoundException: com.google.common.collect.ImmutableList$SerializedForm (no security manager: RMI class loader disabled)
{code}

If return a ArrayList or LinkedList or anything in JDK this will be fixed


> NonSystemKeyspaces jmx attribute needs to return jre list
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-12271
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12271
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Chris Lohfink
>         Attachments: screenshot-1.png
>
>
> If you dont have right guava in classpath you cant query the NonSystemKeyspaces attribute. i.e. jconsole. can reproduce using Swiss java knife:
> {code}
> # java -jar sjk.jar mx -s localhost:7199 -mg -b "org.apache.cassandra.db:type=StorageService" -f NonSystemKeyspaces
> org.apache.cassandra.db:type=StorageService
> java.rmi.UnmarshalException: error unmarshalling return; nested exception is: 
> 	java.lang.ClassNotFoundException: com.google.common.collect.ImmutableList$SerializedForm (no security manager: RMI class loader disabled)
> {code}
> If return a ArrayList or LinkedList or anything in JRE this will be fixed



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