zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mufc_fan <rajeshkumarit8...@gmail.com>
Subject Re: Zookeeper in windows
Date Wed, 20 Aug 2014 10:03:10 GMT
Thank u for ur response...with the help of ur code I changed it as 

call "%~dp0zkEnv.cmd"
set ZOOMAIN=org.apache.zookeeper.server.quorum.QuorumPeerMain
IF [%2] EQU [] set ZOOCFG=%ZOOCFGDIR%\zoo.cfg
ELSE set ZOOCFG="%2"
echo on
call java "-Dzookeeper.log.dir=%ZOO_LOG_DIR%"
"-Dzookeeper.root.logger=%ZOO_LOG4J_PROP%" -cp "%CLASSPATH%" %ZOOMAIN%

Now if we didnt give any arguments it looks at the zookeeper directory and
if we give any path it takes it..

View this message in context: http://zookeeper-user.578899.n2.nabble.com/Zookeeper-in-windows-tp7580194p7580198.html
Sent from the zookeeper-user mailing list archive at Nabble.com.

View raw message