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

mx4j does not work in 3.0.8

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 3.0.10, 3.10
    • Component/s: Legacy/Core
    • Labels:
      None
    • Environment:

      suse 12
      java 1.8.0_60
      mx4j 3.0.2

    • Severity:
      Normal

      Description

      After update from 2.1 to 3.x version mx4j page begin empty

      $ curl -i cassandra1:8081
      HTTP/1.0 200 OK
      expires: now
      Server: MX4J-HTTPD/1.0
      Cache-Control: no-cache
      pragma: no-cache
      Content-Type: text/html
      

      There are no errors in the log.

      logs:

      ~ $ grep -i mx4j /local/apache-cassandra/logs/system.log | tail -2
      INFO  [main] 2016-07-22 13:48:00,352 CassandraDaemon.java:432 - JVM Arguments: [-Xloggc:/local/apache-cassandra//logs/gc.log, -XX:+UseThreadPriorities, -XX:ThreadPriorityPolicy=42, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=/local/tmp, -Xss256k, -XX:StringTableSize=1000003, -XX:+AlwaysPreTouch, -XX:+UseTLAB, -XX:+ResizeTLAB, -XX:+UseNUMA, -Djava.net.preferIPv4Stack=true, -Xms512M, -Xmx1G, -XX:+UseG1GC, -XX:G1RSetUpdatingPauseTimePercent=5, -XX:MaxGCPauseMillis=500, -XX:InitiatingHeapOccupancyPercent=25, -XX:G1HeapRegionSize=32m, -XX:ParallelGCThreads=16, -XX:+PrintGCDetails, -XX:+PrintGCDateStamps, -XX:+PrintHeapAtGC, -XX:+PrintTenuringDistribution, -XX:+PrintGCApplicationStoppedTime, -XX:+PrintPromotionFailure, -XX:+UseGCLogFileRotation, -XX:NumberOfGCLogFiles=10, -XX:GCLogFileSize=10M, -XX:CompileCommandFile=/local/apache-cassandra//conf/hotspot_compiler, -javaagent:/local/apache-cassandra//lib/jamm-0.3.0.jar, -Djava.rmi.server.hostname=cassandra1.d3, -Dcom.sun.management.jmxremote.port=7199, -Dcom.sun.management.jmxremote.rmi.port=7199, -Dcom.sun.management.jmxremote.ssl=false, -Dcom.sun.management.jmxremote.authenticate=false, -Dcom.sun.management.jmxremote.password.file=/etc/cassandra/jmxremote.password, -Djava.library.path=/local/apache-cassandra//lib/sigar-bin, -Dmx4jport=8081, -Dlogback.configurationFile=logback.xml, -Dcassandra.logdir=/local/apache-cassandra//logs, -Dcassandra.storagedir=/local/apache-cassandra//data, -Dcassandra-pidfile=/local/apache-cassandra/run/cassandra.pid]
      INFO  [main] 2016-07-22 13:48:04,045 Mx4jTool.java:63 - mx4j successfuly loaded
      
      ~ $ sudo lsof -i:8081
      COMMAND   PID      USER   FD   TYPE    DEVICE SIZE/OFF NODE NAME
      java    14489 cassandra   86u  IPv4 381043582      0t0  TCP cassandra1.d3:sunproxyadmin (LISTEN)
      

      I checked versions 3.0.8 and 3.5, result the same - not work.

        Attachments

        1. mx4j-error-log.txt
          3 kB
          Edward Ribeiro

          Activity

            People

            • Assignee:
              snazy Robert Stupp
              Reporter:
              Gadd Ilya
              Authors:
              Robert Stupp
              Reviewers:
              T Jake Luciani
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: