Dave, are you running on Windows ? I am not sure ZooKeeper server is able to run on Windows. Are you using "Git bash" or "cygwin" ?
Which version are you using ? Enrico Il giorno 21/04/20, 17:15 "David Cleary" <[email protected]> ha scritto: Following the QuickStart instructions, I am running into the following exception when executing zkServer start 2020-04-21 09:13:35,005 [myid:] - ERROR [main:ZooKeeperServerMain@69] - Invalid arguments, exiting abnormally java.lang.NumberFormatException: For input string: "C:\OpenEdge\WRK\zootest1\zookeeper\bin\..\conf\zoo.cfg" at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.base/java.lang.Integer.parseInt(Integer.java:652) at java.base/java.lang.Integer.parseInt(Integer.java:770) at org.apache.zookeeper.server.ServerConfig.parse(ServerConfig.java:78) at org.apache.zookeeper.server.ZooKeeperServerMain.initializeAndRun(ZooKeeperServerMain.java:109) at org.apache.zookeeper.server.ZooKeeperServerMain.main(ZooKeeperServerMain.java:67) at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:140) at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:90) 2020-04-21 09:13:35,007 [myid:] - INFO [main:ZooKeeperServerMain@70] - Usage: ZooKeeperServerMain configfile | port datadir [ticktime] [maxcnxns] Usage: ZooKeeperServerMain configfile | port datadir [ticktime] [maxcnxns] 2020-04-21 09:13:35,012 [myid:] - INFO [main:ZKAuditProvider@42] - ZooKeeper audit is disabled. 2020-04-21 09:13:35,015 [myid:] - ERROR [main:ServiceUtils@42] - Exiting JVM with code 2 Code is trying to parse the path to config file for some reason. clientPortAddress = new InetSocketAddress(Integer.parseInt(args[0])); I can start the server by not including the start command. However, I have no idea how to shut it down. Any ideas how to get around this issue? Thanks Dave ________________________________ CONFIDENTIALITY & PRIVACY NOTICE This e-mail (including any attachments) is strictly confidential and may also contain privileged information. If you are not the intended recipient you are not authorised to read, print, save, process or disclose this message. If you have received this message by mistake, please inform the sender immediately and destroy this e-mail, its attachments and any copies. Any use, distribution, reproduction or disclosure by any person other than the intended recipient is strictly prohibited and the person responsible may incur in penalties. The use of this e-mail is only for professional purposes; there is no guarantee that the correspondence towards this e-mail will be read only by the recipient, because, under certain circumstances, there may be a need to access this email by third subjects belonging to the Company.
