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

jmx_test.py:TestJMX.test_compactionstats flapping when Jolokia fails to connect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • None
    • None
    • None
    • Normal

    Description

      jmx_test.py:TestJMX.test_compactionstats flaps in a number of jobs on CassCI, including the 3.0 and trunk jobs:

      http://cassci.datastax.com/job/cassandra-3.0_dtest/335/testReport/junit/jmx_test/TestJMX/test_compactionstats/history/

      http://cassci.datastax.com/job/trunk_dtest/820/testReport/jmx_test/TestJMX/test_compactionstats/history/

      There may be other jobs and other tests that flap this way; I'll update this ticket as appropriate if I find more information.

      The error printed by the test is

      Failed to start jolokia agent (command was: /usr/lib/jvm/jdk1.8.0_45/bin/java -cp /usr/lib/jvm/jdk1.8.0_45/lib/tools.jar:lib/jolokia-jvm-1.2.3-agent.jar org.jolokia.jvmagent.client.AgentLauncher --host 127.0.0.1 start 17785): Command '('/usr/lib/jvm/jdk1.8.0_45/bin/java', '-cp', '/usr/lib/jvm/jdk1.8.0_45/lib/tools.jar:lib/jolokia-jvm-1.2.3-agent.jar', 'org.jolokia.jvmagent.client.AgentLauncher', '--host', '127.0.0.1', 'start', '17785')' returned non-zero exit status 1
      Exit status was: 1
      Output was: Illegal Argument (command: start) : Cannot attach to process-ID 17785.
      See --help for possible reasons.
      

      Which is not very helpful. However, that message is consistent with the one found in the error that led to us filing this ticket:

      https://github.com/rhuss/jolokia/issues/198

      So, one starting point for debugging should should be to check that shared memory is correctly disabled when launching Cassandra.

      This was originally reported as CASSANDRA-10666, but that got derailed when an OOM error cropped up on the same test.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mambocab Jim Witschey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: