What do your ZooKeeper configurations look like? My guess is that the
"myid" field isn't formed correctly or is absent.

Best,
Erick

On Fri, Apr 27, 2018 at 9:48 AM, THADC
<timothy.clotworthy.j...@gmail.com> wrote:
> Hi,
>
> I am new to zookeeper. created my zoo.cfg and attempted starting instance
> (DOS shell). my command is:
>
> .\bin\zkServer.cmd start zoo.cfg
>
>
> and getting following error:
>
> "C:\Users\thclotworthy\DevBase\zookeeper\zookeeper-3.4.10\bin\..\build\classes;C:\Users\thclotworthy\DevBase\zookeeper\zookeeper-3.4.10\bin\..\build\lib\*;C:\Users\
> thclotworthy\DevBase\zookeeper\zookeeper-3.4.10\bin\..\*;C:\Users\thclotworthy\DevBase\zookeeper\zookeeper-3.4.10\bin\..\lib\*;C:\Users\thclotworthy\DevBase\zookeeper\zookeeper-3.4.10\bin\..\conf"
> org
> .apache.zookeeper.server.quorum.QuorumPeerMain
> "C:\Users\thclotworthy\DevBase\zookeeper\zookeeper-3.4.10\bin\..\conf\zoo.cfg"
> start zoo.cfg
> 2018-04-27 12:43:46,427 [myid:] - INFO  [main:DatadirCleanupManager@78] -
> autopurge.snapRetainCount set to 3
> 2018-04-27 12:43:46,433 [myid:] - INFO  [main:DatadirCleanupManager@79] -
> autopurge.purgeInterval set to 0
> 2018-04-27 12:43:46,435 [myid:] - INFO  [main:DatadirCleanupManager@101] -
> Purge task is not scheduled.
> 2018-04-27 12:43:46,437 [myid:] - WARN  [main:QuorumPeerMain@113] - Either
> no config or no quorum defined in config, running  in standalone mode
> 2018-04-27 12:43:46,515 [myid:] - ERROR [main:ZooKeeperServerMain@55] -
> Invalid arguments, exiting abnormally
> java.lang.NumberFormatException: For input string:
> "C:\Users\thclotworthy\DevBase\zookeeper\zookeeper-3.4.10\bin\..\conf\zoo.cfg"
>         at
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
>         at java.lang.Integer.parseInt(Integer.java:580)
>         at java.lang.Integer.parseInt(Integer.java:615)
>         at
> org.apache.zookeeper.server.ServerConfig.parse(ServerConfig.java:59)
>         at
> org.apache.zookeeper.server.ZooKeeperServerMain.initializeAndRun(ZooKeeperServerMain.java:84)
>         at
> org.apache.zookeeper.server.ZooKeeperServerMain.main(ZooKeeperServerMain.java:53)
>         at
> org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:116)
>         at
> org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78)
> 2018-04-27 12:43:46,540 [myid:] - INFO  [main:ZooKeeperServerMain@56] -
> Usage: ZooKeeperServerMain configfile | port datadir [ticktime] [maxcnxns]
> Usage: ZooKeeperServerMain configfile | port datadir [ticktime] [maxcnxns]
>
>
> any ideas are appreciated. thank you
>
>
>
>
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to