Bez popisu

Patrick D. Hunt d349e7bd5e cleanup event type/state fields, incompatible API change, ZOOKEEPER-139 před 16 roky
bin ed70d2edcb ZOOKEEPER-82. Make the ZooKeeperServer more DI friendly. (Hiram Chirino via mahadev) před 17 roky
conf 9ab335fc92 Added initial skeleton for ZOOKEEPER-70 před 17 roky
docs f813b6394a updated with latest docs from robbie, ZOOKEEPER-93 před 16 roky
src d349e7bd5e cleanup event type/state fields, incompatible API change, ZOOKEEPER-139 před 16 roky
CHANGES.txt d284d6fdae ZOOKEEPER-117 threading issues in Leader election před 16 roky
LICENSE.txt 47b8275402 Created notice and renamed the existing license/readme files. See ZOOKEEPER-45 před 17 roky
NOTICE.txt 47b8275402 Created notice and renamed the existing license/readme files. See ZOOKEEPER-45 před 17 roky
README.txt ed70d2edcb ZOOKEEPER-82. Make the ZooKeeperServer more DI friendly. (Hiram Chirino via mahadev) před 17 roky
build.xml 217107e26b ZOOKEEPER-130. update build.xml to support apache release process. před 16 roky

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 conf:zookeeper-dev.jar:src/java/lib/log4j-1.2.15.jar org.apache.zookeeper.server.quorum.QuorumPeerMain 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 conf:zookeeper-dev.jar:src/java/lib/log4j-1.2.15.jar org.apache.zookeeper.ZooKeeperMain :

where server and port correspond to the ZooKeeper configuration.

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