Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-12271

NonSystemKeyspaces jmx attribute needs to return jre list

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 3.11.3, 4.0-alpha1, 4.0
    • None
    • Normal

    Description

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

      # 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)
      

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

      Attachments

        1. CASSANDRA-12271.patch
          0.8 kB
          Edward Ribeiro
        2. screenshot-1.png
          120 kB
          Chris Lohfink
        3. screenshot-2.png
          7 kB
          Edward Ribeiro

        Activity

          People

            eribeiro Edward Ribeiro
            cnlwsu Chris Lohfink
            Edward Ribeiro
            Chris Lohfink
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: