Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-12341

Duplicate javassist library found in broker classpath

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.8.0
    • Component/s: config, release
    • Labels:
      None
    • Environment:
      Linux Ubuntu Server 18.04

      Description

      Installed new kafka 2.7.0 with scala 2.13, configured and start broker. Checked the process information and found:

      /opt/jdk11/bin/java -Xmx1G -Xms1G -server -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+ExplicitGCInvokesConcurrent -XX:MaxInlineLevel=15 -Djava.awt.headless=true -Xlog:gc*:file=/home/kafka/kafka/logs2/kafkaServer-gc.log:time,tags:filecount=10,filesize=100M -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dkafka.logs.dir=/home/kafka/kafka/logs2 -Dlog4j.configuration=file:/home/kafka/kafka/bin/../config/log4j.properties -cp /home/kafka/kafka/bin/../libs/activation-1.1.1.jar:[...]:/home/kafka/kafka/bin/../libs/javassist-3.25.0-GA.jar:/home/kafka/kafka/bin/../libs/javassist-3.26.0-GA.jar:[...] kafka.Kafka /home/kafka/kafka/config/server.properties

      There are two versions of javassist library - 3.25.0-GA and 3.26.0-GA.

      Should be only one and I believe it should be upgraded to latest version which is 3.27.0-GA.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ijuma Ismael Juma
                Reporter:
                cosming Cosmin Giurgiu
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: