关于confluent集成环境的启动问题,为什么无法一键全部启动,而是报错Error: ZooKeeper failed to start

先说一下环境

下面是我运行的情况

jinkai@PC-jinkai:~$ su
Password:
root@PC-jinkai:/home/jinkai# export CONFLUENT_HOME=/mnt/d/confluent7
root@PC-jinkai:/home/jinkai# export PATH=$PATH:$CONFLUENT_HOME/bin;
root@PC-jinkai:/home/jinkai# confluent local services start
The local commands are intended for a single-node development environment only,
NOT for production usage. https://docs.confluent.io/current/cli/index.html

Using CONFLUENT_CURRENT: /tmp/confluent.271396
Starting ZooKeeper
Error: ZooKeeper failed to start
root@PC-jinkai:/home/jinkai# confluent local services status
The local commands are intended for a single-node development environment only,
NOT for production usage. https://docs.confluent.io/current/cli/index.html

Using CONFLUENT_CURRENT: /tmp/confluent.271396
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]
root@PC-jinkai:/home/jinkai# confluent local services start
The local commands are intended for a single-node development environment only,
NOT for production usage. https://docs.confluent.io/current/cli/index.html

Using CONFLUENT_CURRENT: /tmp/confluent.271396
ZooKeeper is [UP]
Starting Kafka
Error: Kafka failed to start
root@PC-jinkai:/home/jinkai# confluent local services start
The local commands are intended for a single-node development environment only,
NOT for production usage. https://docs.confluent.io/current/cli/index.html

Using CONFLUENT_CURRENT: /tmp/confluent.271396
ZooKeeper is [UP]
Kafka is [UP]
Starting Schema Registry
Error: Schema Registry failed to start
root@PC-jinkai:/home/jinkai# confluent local services start
The local commands are intended for a single-node development environment only,
NOT for production usage. https://docs.confluent.io/current/cli/index.html

Using CONFLUENT_CURRENT: /tmp/confluent.271396
ZooKeeper is [UP]
Kafka is [UP]
Schema Registry is [UP]
Starting Kafka REST
Error: Kafka REST failed to start
root@PC-jinkai:/home/jinkai# confluent local services start
The local commands are intended for a single-node development environment only,
NOT for production usage. https://docs.confluent.io/current/cli/index.html

Using CONFLUENT_CURRENT: /tmp/confluent.271396
ZooKeeper is [UP]
Kafka is [UP]
Schema Registry is [UP]
Kafka REST is [UP]
Starting Connect
Error: Connect failed to start
root@PC-jinkai:/home/jinkai# confluent local services start
The local commands are intended for a single-node development environment only,
NOT for production usage. https://docs.confluent.io/current/cli/index.html

Using CONFLUENT_CURRENT: /tmp/confluent.271396
ZooKeeper is [UP]
Kafka is [UP]
Schema Registry is [UP]
Kafka REST is [UP]
Connect is [UP]
Starting ksqlDB Server
Error: ksqlDB Server failed to start
root@PC-jinkai:/home/jinkai# confluent local services start
The local commands are intended for a single-node development environment only,
NOT for production usage. https://docs.confluent.io/current/cli/index.html

Using CONFLUENT_CURRENT: /tmp/confluent.271396
ZooKeeper is [UP]
Kafka is [UP]
Schema Registry is [UP]
Kafka REST is [UP]
Connect is [UP]
ksqlDB Server is [UP]
Starting Control Center
Error: Control Center failed to start
root@PC-jinkai:/home/jinkai# confluent local services start
The local commands are intended for a single-node development environment only,
NOT for production usage. https://docs.confluent.io/current/cli/index.html

Using CONFLUENT_CURRENT: /tmp/confluent.271396
ZooKeeper is [UP]
Kafka is [UP]
Schema Registry is [UP]
Kafka REST is [UP]
Connect is [UP]
ksqlDB Server is [UP]
Control Center is [UP]
root@PC-jinkai:/home/jinkai#

按照正常的情况执行confluent local services start应该会像下面这样

Starting Zookeeper
Zookeeper is [UP]
Starting Kafka
Kafka is [UP]
Starting Schema Registry
Schema Registry is [UP]
Starting Kafka REST
Kafka REST is [UP]
Starting Connect
Connect is [UP]
Starting KSQL Server
KSQL Server is [UP]
Starting Control Center
Control Center is [UP]

但是我的为什么会这样,显示失败但是是启动起来的,虽然这样最后也能启动成功进入http://localhost:9021/页面,但肯定是有问题的。

我查看了Linux系统里面的日志文件信息,和正常启动的没有区别,也没有看到相关的报错信息。

 

上一篇:使用触发器自动从mysql数据库的日志表中删除行


下一篇:像MySQL触发器一样,但总体上来说呢?