Hi All,
When I run confluent local services start
it takes about 90 seconds for the command to return a failure …
… which is incorrect, because zookeeper did in fact start. Here is the output of the first invocation:
$ time confluent local services start
The local commands are intended for a single-node development environment only, NOT for production usage. See more: https://docs.confluent.io/current/cli/index.html
As of Confluent Platform 8.0, Java 8 is no longer supported.
Using CONFLUENT_CURRENT: /tmp/confluent.924759
Starting ZooKeeper
Error: ZooKeeper failed to start
real 1m32.857s
user 0m0.095s
sys 0m0.104s
However status
shows me zookeeper is running:
$ time confluent local services status
The local commands are intended for a single-node development environment only, NOT for production usage. See more: https://docs.confluent.io/current/cli/index.html
As of Confluent Platform 8.0, Java 8 is no longer supported.
Using CONFLUENT_CURRENT: /tmp/confluent.924759
Connect is [DOWN]
Control Center is [DOWN]
Kafka is [DOWN]
Kafka REST is [DOWN]
ksqlDB Server is [DOWN]
Schema Registry is [DOWN]
ZooKeeper is [UP]
real 0m2.805s
user 0m0.062s
sys 0m0.015s
again
$ time confluent local services start
The local commands are intended for a single-node development environment only, NOT for production usage. See more: https://docs.confluent.io/current/cli/index.html
As of Confluent Platform 8.0, Java 8 is no longer supported.
Using CONFLUENT_CURRENT: /tmp/confluent.924759
ZooKeeper is [UP]
Starting Kafka
Error: Kafka failed to start
real 1m32.846s
user 0m0.112s
sys 0m0.079s
$ confluent local services status
The local commands are intended for a single-node development environment only, NOT for production usage. See more: https://docs.confluent.io/current/cli/index.html
As of Confluent Platform 8.0, Java 8 is no longer supported.
Using CONFLUENT_CURRENT: /tmp/confluent.924759
Connect is [DOWN]
Control Center is [DOWN]
Kafka is [UP]
Kafka REST is [DOWN]
ksqlDB Server is [DOWN]
Schema Registry is [DOWN]
ZooKeeper is [UP]
Now both zookeeper and kafka is reported as UP, but again the start
command timed out with a failure.
If I repeatedly repeat these steps it “works” for ZooKeeper, kafka, Schema Registry & Kafka REST.
This stops working by the time I get to connect
$ time confluent local services start
The local commands are intended for a single-node development environment only, NOT for production usage. See more: https://docs.confluent.io/current/cli/index.html
As of Confluent Platform 8.0, Java 8 is no longer supported.
Using CONFLUENT_CURRENT: /tmp/confluent.924759
ZooKeeper is [UP]
Kafka is [UP]
Schema Registry is [UP]
Kafka REST is [UP]
Starting Connect
Error: Connect failed to start
real 1m32.899s
user 0m0.178s
sys 0m0.093s
$ time confluent local services status
The local commands are intended for a single-node development environment only, NOT for production usage. See more: https://docs.confluent.io/current/cli/index.html
As of Confluent Platform 8.0, Java 8 is no longer supported.
Using CONFLUENT_CURRENT: /tmp/confluent.924759
Connect is [DOWN]
Control Center is [DOWN]
Kafka is [UP]
Kafka REST is [UP]
ksqlDB Server is [DOWN]
Schema Registry is [UP]
ZooKeeper is [UP]
real 0m2.665s
user 0m0.051s
sys 0m0.028s
… so I can’t actually get the whole stack going like this.
Here is some debug environment info:
$ java -version
openjdk version "11" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)
$ uname -a
Linux malaika 6.1.19-gentoo-x86_64 #1 SMP PREEMPT_DYNAMIC Sat Mar 18 17:57:46 SAST 2023 x86_64 AMD Ryzen 9 5900HX with Radeon Graphics AuthenticAMD GNU/Linux
$ echo $CONFLUENT_HOME
/home/pieter/Downloads/confluent/confluent
$ which confluent
/home/pieter/Downloads/confluent/confluent/bin/confluent
All of this relates to confluent-7.4.0
.