Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

An adaptation of other scripts to ease creating and running Zookeeper clusters for testing

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rvmrc
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 launchd-wrapper.sh
Octocat-spinner-32 log4j.properties
Octocat-spinner-32 start-zk.rb
Octocat-spinner-32 test-app.rb
Octocat-spinner-32 tmux-zk-cluster.conf
README.md

zkclustertest

"There's a reason they call it a cluster" - Nathan Olla

This code is an adaptation of similar (and possibly better) code out there that does the legwork to set up a zookeeper cluster. In the Grand Tradition of Not Invented Here, I rewrote it using the tools I know best (ruby, rake) so that I could modify it as needed.

The script is essentially a rakefile that generates the config files to point to the other members of the cluster, set up data directories, and start the cluster. Rather than write a whole bunch of code to manage process lifetime and children and such, we'll just use tmux.

Something went wrong with that request. Please try again.