E:\zookeeper\zookeeper-3.3.6\bin>java "-Dzookeeper.log.dir=E:\zookeeper\zookeeper-3.3.6\bin.." "-Dzookeeper.root.logger=INFO,CONSOLE" -cp "E:\zookeeper\zookeeper-3.3.6\bin..\build\classes;E:\zookeeper\zookeeper-3.3.6\bin..\build\lib*;E:\zookeeper\zookeeper-3.3.6\bin..*;E:\zookeeper\zookeeper-3.3.6\bin..\lib*;E:\zookeeper\zookeeper-3.3.6\bin..\conf" org.apache.zookeeper.server.quorum.QuorumPeerMain "E:\zookeeper\zookeeper-3.3.6\bin..\conf\zoo.cfg"
2015-12-14 21:21:39,969 - INFO [main:QuorumPeerConfig@90] - Reading configuration from: E:\zookeeper\zookeeper-3.3.6\bin..\conf\zoo.cfg
2015-12-14 21:21:39,971 - FATAL [main:QuorumPeerMain@83] - Invalid config, exiting abnormally
org.apache.zookeeper.server.quorum.QuorumPeerConfig$ConfigException: Error processing E:\zookeeper\zookeeper-3.3.6\bin..\conf\zoo.cfg
at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:110)
at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:99)
at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:76)
Caused by: java.lang.IllegalArgumentException: dataLogDir E:\zk\logs\zookeeper ZK ·????÷?????à?????? is missing.
at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parseProperties(QuorumPeerConfig.java:223)
at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:106)
... 2 more
Invalid config, exiting abnormally
配置文件写的有问题嗯,问题解决了,由于第一次用,不仔细,配置文件的后面有中文
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。