Zookeeper启动抛出“Invalid arguments, exiting abnormally”异常

1、问题

使用命令

J:\zookeeper-3.4.8\bin>zkServer.cmd start

出现下面的问题:

2016-06-14 18:35:17,429 [myid:] - ERROR [main:ZooKeeperServerMain@54] - Invalidarguments, exiting abnormally
java.lang.NumberFormatException: For input string: "J:\zookeeper-3.4.8\bin\..\conf\zoo.cfg"


2、解决

解决的过程很简单,就是命令行中去除 start。尴尬

即直接使用zkServer.cmd命令启动:

J:\zookeeper-3.4.8\bin>zkServer.cmd

posted @ 2016-06-14 18:39  hongweigg  阅读(149)  评论(0)    收藏  举报