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

来源:互联网 发布:主机屋域名绑定 编辑:程序博客网 时间:2024/06/05 04:24

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

0 0
原创粉丝点击