Zookeeper/Kafka not starting

Issue #143 resolved
Andrew Smith created an issue

Looking for info on how to run Kafka on IBM i - have downloaded 2.13-2.6.0 directly and extracted it.

Running from Bash on V7R3 with TL19311 installed

OpenSource environment updated and latest Java group PTF

Attempting to start Zookeeper using :

bin/zookeeper-server-start.sh config/zookeeper.properties

from the base directory for kafka_2.13-2.6.0 gives an error from the JVM - stating

������Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A : separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose:[class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
Warning: this feature is deprecated and will be removed
in a future release.
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -no-jre-restrict-search
Warning: this feature is deprecated and will be removed
in a future release.
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions with specified granularity
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions with specified granularity
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument
-splash:<imagepath>
show splash screen with specified image

The Kafka files were scp:ed from an AIX LPAR having downloaded them first and unzipped.

OpenSource environment is up to date and appears to work.

Looking really for guidance rather than a bug tbh. Any help/assistance gratefully received 🙂

Comments (4)

  1. esimpson

    Hi Andrew,

    Could you try openjdk-11 (installed with yum and then set JAVA_HOME=/QOpenSys/pkgs/lib/jvm/openjdk-11)?

  2. Andrew Smith reporter

    Thanks for the reply Eric, I will give it a go and see what it does.

    Currently it is trying with the regular IBM supplied 64-bit version 8, so it is definitely worth a try.

    I’ll post here with how it goes.

  3. Andrew Smith reporter

    @Eric - tested that with the OpenJDK instead and it works perfectly! Thank you very much for your help, it is very much appreciated.

  4. Log in to comment