栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 前沿技术 > 大数据 > 大数据系统

安装kafka和zookeeper遇到的坑

安装kafka和zookeeper遇到的坑

文章目录
    • 一、找不到或无法加载主类 org.apache.zookeeper.server.quorum.QuorumPeerMain-新版本zookeeper易犯错误

一、找不到或无法加载主类 org.apache.zookeeper.server.quorum.QuorumPeerMain-新版本zookeeper易犯错误

解决方法:去zk的官网下载,别去github上下载release版本

原因:
1)总结:3.5.5之前也去官网下载tar包,3.5.5之后带有bin名称的包才是我们想要的下载可以直接使用的里面有编译后的二进制的包,而之前的普通的tar.gz的包里面是只是源码的包无法直接使用。
2)下载后的readme文档写了区别了 apache-zookeeper-[version].tar.gz - Contains all the source files which can be built by running: mvn clean install - To generate an aggregated apidocs for zookeeper-server and zookeeper-jute: mvn javadoc:aggregate (generated files will be at target/site/apidocs) apache-zookeeper-[version]-bin.tar.gz - Contains all the jar files required to run ZooKeeper documentation can also be found in the docs folder

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/389210.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号