You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Cosmin Giurgiu (Jira)" <ji...@apache.org> on 2021/02/18 19:15:00 UTC
[jira] [Updated] (KAFKA-12341) Duplicate javassist library found in
broker classpath
[ https://issues.apache.org/jira/browse/KAFKA-12341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cosmin Giurgiu updated KAFKA-12341:
-----------------------------------
Fix Version/s: 2.7.1
Description:
Installed new kafka 2.7.0 with scala 2.13, configured and start broker. Checked the process information and found:
{code:java}
/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{code}
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.
was:
Installed new kafka 2.7.0 with scala 2.13, configured and start broker. Checked the process information and found:
{code:java}
/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{code}
There are two versions of javassist library - 3.25.0-GA and 3.26.0-GA.
> Duplicate javassist library found in broker classpath
> -----------------------------------------------------
>
> Key: KAFKA-12341
> URL: https://issues.apache.org/jira/browse/KAFKA-12341
> Project: Kafka
> Issue Type: Bug
> Components: config
> Affects Versions: 2.7.0
> Environment: Linux Ubuntu Server 18.04
> Reporter: Cosmin Giurgiu
> Priority: Minor
> Fix For: 2.7.1
>
>
> Installed new kafka 2.7.0 with scala 2.13, configured and start broker. Checked the process information and found:
> {code:java}
> /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{code}
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)