Без опису

Mahadev Konar dbd65f592b ZOOKEEPER-44. Create sequence flag children with prefixes of 0's so that they can be lexicographically sorted. (Jakob Homan via mahadev) 17 роки тому
bin 33e143dd20 ZOOKEEPER-41. Change sample scripts to work with changes in log4j prop file. (mahadev) 17 роки тому
conf 9ab335fc92 Added initial skeleton for ZOOKEEPER-70 17 роки тому
docs 9ab335fc92 Added initial skeleton for ZOOKEEPER-70 17 роки тому
src dbd65f592b ZOOKEEPER-44. Create sequence flag children with prefixes of 0's so that they can be lexicographically sorted. (Jakob Homan via mahadev) 17 роки тому
LICENSE.txt 47b8275402 Created notice and renamed the existing license/readme files. See ZOOKEEPER-45 17 роки тому
NOTICE.txt 47b8275402 Created notice and renamed the existing license/readme files. See ZOOKEEPER-45 17 роки тому
README.txt cfd2ecb8d0 Updated code/build to support the new package prefix of org.apache.zookeeper. See ZOOKEEPER-45 17 роки тому
build.xml 9ab335fc92 Added initial skeleton for ZOOKEEPER-70 17 роки тому

README.txt

Welcome to ZooKeeper!

-------------------
Run "ant" command in this directory to build the server/client. "zookeeper-dev.jar" will be output to this directory on a successful build.


-------------------
Starting the server:

1) in the conf directory make a copy of zoo_sample.cfg (ie zoo.cfg) and edit as necessary. Default values will support a "standalone" instance.

2) start the server with the following comand line:

java -cp zookeeper-dev.jar:java/lib/log4j-1.2.15.jar org.apache.zookeeper.server.quorum.QuorumPeer conf/zoo.cfg

Notice that the server is picking up the log4j.properties file from the conf directory (default).


-----------------------
Starting a client shell

1) run the following command

java -cp zookeeper-dev.jar:java/lib/log4j-1.2.15.jar org.apache.zookeeper.ZooKeeper :

where server and port correspond to the ZooKeeper configuration.

Notice that the client is picking up the log4j_console.properties file from the conf directory (default).