关于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-07-06有没有什么开源的py项目可以对图像进行分类-icode9专业技术文章分享
- 2024-07-05feign默认connecttimeout和readtimeout是多少-icode9专业技术文章分享
- 2024-07-05idea控制台,日志太多,导致部分想看得日志被刷走 搜不到-icode9专业技术文章分享
- 2024-07-05The server selected protocol version Tls10 is not accepted by client preferences [TLs12]-icode9专业技术文章分享
- 2024-07-05怎么清理项目缓存-icode9专业技术文章分享
- 2024-07-04安装 Eyoucms详细图文教程-icode9专业技术文章分享
- 2024-07-04ueditor 复制文章时,图片的链接是一个下载图片地址,该如何处理?-icode9专业技术文章分享
- 2024-07-04怎样判断host有没有对wordpress有缓存呢-icode9专业技术文章分享
- 2024-07-04具有编译功能的系统make后,无法ssh连接-icode9专业技术文章分享
- 2024-07-04make后如何升级ssh-icode9专业技术文章分享