Sin descripción

Patrick D. Hunt 9398146ee6 changes for ZOOKEEPER-142 - update docs on max node size hace 17 años
bin ed70d2edcb ZOOKEEPER-82. Make the ZooKeeperServer more DI friendly. (Hiram Chirino via mahadev) hace 17 años
conf 9ab335fc92 Added initial skeleton for ZOOKEEPER-70 hace 17 años
docs f813b6394a updated with latest docs from robbie, ZOOKEEPER-93 hace 17 años
src 9398146ee6 changes for ZOOKEEPER-142 - update docs on max node size hace 17 años
CHANGES.txt d284d6fdae ZOOKEEPER-117 threading issues in Leader election hace 17 años
LICENSE.txt 47b8275402 Created notice and renamed the existing license/readme files. See ZOOKEEPER-45 hace 17 años
NOTICE.txt 47b8275402 Created notice and renamed the existing license/readme files. See ZOOKEEPER-45 hace 17 años
README.txt ed70d2edcb ZOOKEEPER-82. Make the ZooKeeperServer more DI friendly. (Hiram Chirino via mahadev) hace 17 años
build.xml 217107e26b ZOOKEEPER-130. update build.xml to support apache release process. hace 17 años

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).