ERROR [main:QuorumPeerMain@99] - Invalid config, exiting abnormally
org.apache.zookeeper.server.quorum.QuorumPeerConfig$ConfigException: Error processing E:\apache-zookeeper-3.7.1-bin\bin\..\conf\zoo.cfg
at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:198)
at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:125)
at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:91)
Caused by: java.lang.IllegalArgumentException: E:\apache-zookeeper-3.7.1-bin\bin\..\conf\zoo.cfg file is missing
at org.apache.zookeeper.server.util.VerifyingFileFactory.doFailForNonExistingPath(VerifyingFileFactory.java:54)
at org.apache.zookeeper.server.util.VerifyingFileFactory.validate(VerifyingFileFactory.java:47)
at org.apache.zookeeper.server.util.VerifyingFileFactory.create(VerifyingFileFactory.java:39)
at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:180)
... 2 more
Invalid config, exiting abnormally
2023-05-24 23:25:57,592 [myid:] - INFO [main:ZKAuditProvider@42] - ZooKeeper audit is disabled.
2023-05-24 23:25:57,620 [myid:] - ERROR [main:ServiceUtils@48] - Exiting JVM with code 2
E:\apache-zookeeper-3.7.1-bin\bin…\conf\zoo.cfg
看到 conf\zoo.cfg 配置文件没有找到。
将conf目录下的zoo_sample.cfg复制一份,改名为zoo.cfg即可文章来源地址https://www.toymoban.com/news/detail-708286.html
文章来源:https://www.toymoban.com/news/detail-708286.html
到了这里,关于zookeeper安装配置报错 INFO [main:ZKAuditProvider@42] - ZooKeeper audit is disabled.的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!