You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Ray Chiang (JIRA)" <ji...@apache.org> on 2018/07/20 20:51:00 UTC
[jira] [Commented] (KAFKA-6918) Kafka server fails to start with
IBM JAVA
[ https://issues.apache.org/jira/browse/KAFKA-6918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16551270#comment-16551270 ]
Ray Chiang commented on KAFKA-6918:
-----------------------------------
Using Ubuntu 16.0.4 and this version of IBM Java:
{code:java}
java version "1.8.0_171"
Java(TM) SE Runtime Environment (build 8.0.5.17 - pxa6480sr5fp17-20180627_01(SR5 FP17))
IBM J9 VM (build 2.9, JRE 1.8.0 Linux amd64-64-Bit Compressed References 20180626_390413 (JIT enabled, AOT enabled)
OpenJ9 - 5cdc604
OMR - a24bc01
IBM - 21870d6)
JCL - 20180619_01 based on Oracle jdk8u171-b11{code}
I'm seeing the above error in Kafka 1.0.2 and 1.1.0, but I'm getting a broker startup without that error in 1.1.1.
This matches what I see in Git, since I see this fix in both the 1.1 branch and the 1.1.1-rc1 tag, but not in the 1.1.0 tag:
{code:java}
commit 091f96ffb0905251481444cfc14435c67c4e3608
Author: Ismael Juma <is...@juma.me.uk>
Date: Fri May 25 07:00:56 2018 -0700
MINOR: Use reflection for signal handler and do not enable it for IBM JDK (#5047){code}
I think this should be good to close.
> Kafka server fails to start with IBM JAVA
> -----------------------------------------
>
> Key: KAFKA-6918
> URL: https://issues.apache.org/jira/browse/KAFKA-6918
> Project: Kafka
> Issue Type: Bug
> Affects Versions: 1.0.0
> Reporter: Nayana Thorat
> Priority: Critical
>
> Kafka server start fails with below error:
> bin/kafka-server-start.sh -daemon config/server.properties
> ERROR:
> (kafka.server.KafkaConfig)
> FATAL (kafka.Kafka$)
> java.lang.IllegalArgumentException: Signal already used by VM: INT
> at com.ibm.misc.SignalDispatcher.registerSignal(SignalDispatcher.java:127)
> at sun.misc.Signal.handle(Signal.java:184)
> at kafka.Kafka$.registerHandler$1(Kafka.scala:67)
> at kafka.Kafka$.registerLoggingSignalHandler(Kafka.scala:74)
> at kafka.Kafka$.main(Kafka.scala:85)
> at kafka.Kafka.main(Kafka.scala)
>
> Tried with binaries and well as built Apache Kafka(v1.0.0) from source.
> Installed IBM SDK on Ubuntu 16.04.
> IBM java link:
> wget http://public.dhe.ibm.com/ibmdl/export/pub/systems/cloud/runtimes/java/8.0.5.10/linux/x86_64/ibm-java-sdk-8.0-5.10-x86_64-archive.bin
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)