8000 GitHub - r13ljj/zookeeper-1 at branch-3.0
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

r13ljj/zookeeper-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 <server>:<port>

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

About

Apache ZooKeeper

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 74.6%
  • C++ 8.0%
  • C 6.9%
  • JavaScript 2.8%
  • Python 1.8%
  • Shell 1.3%
  • Other 4.6%
0