ZooKeeper-3.6.3啟動錯誤:ZooKeeper audit is disabled


ZooKeeper-3.6.3啟動錯誤:ZooKeeper audit is disabled

我在Windows中啟動ZooKeeper-3.6.3中遇到該問題:

image-20210713225500977

然后通過網上查閱相關資料,了解到 3.6以上的版本都會有這種現象,是因為新版本在啟動時,zookeeper新增的審核日志是默認關閉的。

解決方法 :

我只在了 zkServer.cmd 添加"-Dzookeeper.audit.enable=true"

image-20210713225940017

image-20210713230206580

再次點擊啟動zkServer.cmd,就成功了

image-20210713230117485


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM