Ei kuvausta

Patrick D. Hunt 931322a7c7 fix for ZOOKEEPER-132, creation enum to replace createflag 17 vuotta sitten
bin ed70d2edcb ZOOKEEPER-82. Make the ZooKeeperServer more DI friendly. (Hiram Chirino via mahadev) 17 vuotta sitten
conf 9ab335fc92 Added initial skeleton for ZOOKEEPER-70 17 vuotta sitten
docs 9ab335fc92 Added initial skeleton for ZOOKEEPER-70 17 vuotta sitten
src 931322a7c7 fix for ZOOKEEPER-132, creation enum to replace createflag 17 vuotta sitten
CHANGES.txt e3e0db7891 ZOOKEEPER-63. Race condition in client close() operation. (phunt via breed) 17 vuotta sitten
LICENSE.txt 47b8275402 Created notice and renamed the existing license/readme files. See ZOOKEEPER-45 17 vuotta sitten
NOTICE.txt 47b8275402 Created notice and renamed the existing license/readme files. See ZOOKEEPER-45 17 vuotta sitten
README.txt ed70d2edcb ZOOKEEPER-82. Make the ZooKeeperServer more DI friendly. (Hiram Chirino via mahadev) 17 vuotta sitten
build.xml 1ca4ea0540 [ZOOKEEPER-110] Removed dependency on svnant; using a shell script to extract the revision number from SVN instead. 17 vuotta sitten

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