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

Tools emit ERRORs and WARNINGs about missing javaagent

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.2.14, 2.0.4
    • Legacy/Tools
    • None

    Description

      The combination of CASSANDRA-6107 & CASSANDRA-6293 has lead to a number of the tools shipped in bin/ to display the following warnings when run:

      ERROR 15:21:47,337 Unable to initialize MemoryMeter (jamm not specified as javaagent).  This means Cassandra will be unable to measure object sizes accurately and may consequently OOM.
       WARN 15:21:47,506 MemoryMeter uninitialized (jamm not specified as java agent); KeyCache size in JVM Heap will not be calculated accurately. Usually this means cassandra-env.sh disabled jamm because you are u
      

      Although harmless, these are a bit disconcerting. The simplest fix seems to be to set the javaagent switch as we do for the main C* launch.

      Attachments

        Activity

          People

            samt Sam Tunnicliffe
            samt Sam Tunnicliffe
            Sam Tunnicliffe
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: