Chris, OK understood.
Thank you very much for the explanation. Best regards Mello Em 05/12/2015 14:08, "Chris Nauroth" <[email protected]> escreveu: > The zkServer.cmd (Windows) syntax is a bit different from the zkServer.sh > (Unix) syntax. The cmd script doesn't support the > start/start-foreground/stop/etc. sub-commands of the shell script. > Instead, you just call "zkServer.cmd" without arguments, and it goes. > > It wouldn't be correct to remove the %* from the end. QuorumPeerMain is > designed to accept arguments, such as a configuration file location, so > omitting the command line arguments would prevent that. > > This isn't necessarily a bug, but there is probably room for improvement > in the documentation. We could use a section specifically describing > command usage differences on Windows. > > --Chris Nauroth > > > > > On 12/5/15, 2:26 AM, "Flavio Junqueira" <[email protected]> > wrote: > > >Hi Mello, > > > >Which version are you using? And yes, creating a jira sounds like the > >right course of action. > > > >Thanks, > >-Flavio > > > >> On 04 Dec 2015, at 18:53, Cesar Mello <[email protected]> wrote: > >> > >> Hi, > >> > >> I tried "zkServer start" under Windows and it doesn't seem to work. It > >> seems the "start" command line parameter should not be passed to > >> QuorumPeerMain, right? So I removed the "%*" from the end of the line in > >> zkServer.cmd: > >> > >> call %JAVA% "-Dzookeeper.log.dir=%ZOO_LOG_DIR%" > >> "-Dzookeeper.root.logger=%ZOO_LOG4J_PROP%" -cp "%CLASSPATH%" %ZOOMAIN% > >> "%ZOOCFG%" %* > >> > >> And it worked! Should I file this into the bug tracker? > >> > >> Thank you for the attention. > >> > >> Best regards > >> Mello > > > > > >
