关于confluent集成环境的启动问题,为什么无法一键全部启动,而是报错Error: ZooKeeper failed to start
2021/12/28 23:12:59
本文主要是介绍关于confluent集成环境的启动问题,为什么无法一键全部启动,而是报错Error: ZooKeeper failed to start,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
先说一下环境
-
confluent7.0.0
-
win10系统安装的wsl2的Ubuntu20.04子系统
-
在子系统中运行,jdk版本1.8
-
干净的confluent7.0.0按照https://blog.csdn.net/eyeofeagle/article/details/117999231的博客内容进行配置修改,他上面写的是192.168.56.7我全部写的loclhost
下面是我运行的情况
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系统里面的日志文件信息,和正常启动的没有区别,也没有看到相关的报错信息。
这篇关于关于confluent集成环境的启动问题,为什么无法一键全部启动,而是报错Error: ZooKeeper failed to start的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-12-27文件掩码什么意思?-icode9专业技术文章分享
- 2024-12-27如何使用循环来处理多个订单的退款请求,代码怎么写?-icode9专业技术文章分享
- 2024-12-27VSCode 在编辑时切换到另一个文件后再切回来如何保持在原来的位置?-icode9专业技术文章分享
- 2024-12-27Sealos Devbox 基础教程:使用 Cursor 从零开发一个 One API 替代品 审核中
- 2024-12-27TypeScript面试真题解析与实战指南
- 2024-12-27TypeScript大厂面试真题详解与解析
- 2024-12-26怎么使用nsenter命令进入容器?-icode9专业技术文章分享
- 2024-12-26导入文件提示存在乱码,请确定使用的是UTF-8编码怎么解决?-icode9专业技术文章分享
- 2024-12-26csv文件怎么设置编码?-icode9专业技术文章分享
- 2024-12-25TypeScript基础知识详解