Nessuna descrizione

Michael Han 083b22467f Close #320 8 anni fa
bin 82627a6417 ZOOKEEPER-5. Upgrade Feature in Zookeeper server. 17 anni fa
conf e5779f192a ZOOKEEPER-223. change default level in root logger to INFO. (pat via mahadev) 17 anni fa
docs cac3996ee9 Preparing for release 3.0.1 (rc1) 17 anni fa
src cac3996ee9 Preparing for release 3.0.1 (rc1) 17 anni fa
CHANGES.txt cac3996ee9 Preparing for release 3.0.1 (rc1) 17 anni fa
LICENSE.txt 47b8275402 Created notice and renamed the existing license/readme files. See ZOOKEEPER-45 17 anni fa
NOTICE.txt 47b8275402 Created notice and renamed the existing license/readme files. See ZOOKEEPER-45 17 anni fa
README.txt 60808e0a73 ZOOKEEPER-198. apache license header missing from FollowerSyncRequest.java 17 anni fa
build.xml c7f1ccb6e6 Preparing for release 3.0.1 17 anni fa

README.txt

Welcome to ZooKeeper!

-------------------
Documentation

See docs/index.html

New Users -- see the overview, getting started, and programmer guides
Existing Users -- if you are upgrading to 3.0 review the releasenotes and upgrade guide

-------------------
Quick Start

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