Permalink
Browse files

Use temporary repo for {zoo,book}keeper

  • Loading branch information...
1 parent 2e435f5 commit eb791da99beb3af5ed6dedb14dd2b13f646a4014 @dgomezferro dgomezferro committed Nov 8, 2011
Showing with 22 additions and 92 deletions.
  1. +0 −78 README
  2. +2 −10 README.md
  3. +20 −4 pom.xml
View
78 README
@@ -1,78 +0,0 @@
-* Dependencies
- - Netty
- - log4j
- - ZooKeeper
- - HBase
-
-* Compilation
-
-Omid uses Maven for its build system. The versions
-of zookeeper and bookkeeper are missing from mvn, so you have to
-manually install these dependencies.
-
-To install zookeeper:
- $ mvn install:install-file -DgroupId=org.apache.zookeeper -DartifactId=zookeeper -Dversion=3.4.0 -Dpackaging=jar -Dfile=zookeeper-3.4.0.jar
-
-To install bookkeeper:
- $ mvn install:install-file -DgroupId=org.apache.zookeeper -DartifactId=bookkeeper -Dversion=3.4.0 -Dpackaging=jar -Dfile=bookkeeper-3.4.0.jar
-
-Then to compile omid:
- $ tar jxvf omid-1.0-SNAPSHOT.tar.bz2
- $ cd omid-1.0-SNAPSHOT
- $ mvn install
-
-Tests should run cleanly.
-
-* Running
-
-You need to run four components before running the transactional
-client. They are bookkeeper, zookeeper, omid tso and
-hbase. Bookkeeper is needed by the TSO. Zookeeper is needed by
-bookkeeper and hbase. The TSO is needed by hbase. Hence, the order of
-starting should be:
- 1. Zookeeper
- 2. Bookkeeper
- 3. TSO
- 4. Hbase
-
-** Zookeeper & Bookkeeper
-For simplicity we've included a utility script which starts zookeeper
-and bookkeeper. Run:
-
- $ bin/omid.sh bktest
-
-Omid doesn't use anything special in zookeeper or bookkeeper, so you
-can use any install for these. However, if you are running this
-anywhere but localhost, you need to update the setting for hbase and
-TSO. See the hbase docs for changing the zookeeper quorum. For TSO,
-you need to modify bin/omid.sh.
-
-** TSO
-To start the TSO, run:
-
- $ bin/omid.sh tso
-
-** Benchmark
-To benchmark the TSO alone, run:
-
- $ bin/omid.sh tsobench
-
-** HBase
-We've included a utility script to start a HBase cluster on your local
-machine. Run:
-
- $ bin/omid.sh tran-hbase
-
-For running in a cluster
-
-* API
-The public api is in
- src/main/java/com/yahoo/omid/client/TransactionalTable.java
- src/main/java/com/yahoo/omid/client/TransactionState.java
- src/main/java/com/yahoo/omid/client/TransactionManager.java
-
-For an example of usage, look in
- src/test/java/com/yahoo/omid/TestBasicTransaction.java
-
-* Logging
-Logging can be adjusted in src/main/resource/log4j.properties.
View
12 README.md
@@ -16,16 +16,8 @@ to restart the server without losing any commit information.
Compilation
-----------
-Omid uses Maven for its build system. The versions of zookeeper and bookkeeper are missing from mvn, so you have to
-manually install these dependencies.
-
-To install zookeeper:
-
- $ mvn install:install-file -DgroupId=org.apache.zookeeper -DartifactId=zookeeper -Dversion=3.4.0 -Dpackaging=jar -Dfile=zookeeper-3.4.0.jar
-
-To install bookkeeper:
-
- $ mvn install:install-file -DgroupId=org.apache.zookeeper -DartifactId=bookkeeper -Dversion=3.4.0 -Dpackaging=jar -Dfile=bookkeeper-3.4.0.jar
+Omid uses Maven for its build system. We are using a temporary repository for zookeeper and bookkeeper packages to ease
+the installation procedure
Then to compile omid:
View
24 pom.xml
@@ -27,8 +27,12 @@
<repositories>
<repository>
- <id>repository.jboss.org</id>
- <url>http://repository.jboss.org/nexus/content/groups/public/</url>
+ <id>ivank.waitingforzk.repo</id>
+ <name>Temporary repo waiting for ZK 3.4.0 official release</name>
+ <url>http://people.apache.org/~ivank/repo</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
</repository>
</repositories>
@@ -104,7 +108,7 @@
<artifactId>netty</artifactId>
<version>3.1.2.GA</version>
</dependency>
- <dependency>
+ <!-- dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>bookkeeper</artifactId>
<version>3.4.0</version>
@@ -113,7 +117,7 @@
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>3.4.0</version>
- </dependency>
+ </dependency -->
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
@@ -128,5 +132,17 @@
<type>jar</type>
<scope>compile</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.zookeeper</groupId>
+ <artifactId>zookeeper</artifactId>
+ <version>3.4.0-BK-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.bookkeeper</groupId>
+ <artifactId>bookkeeper-server</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
</dependencies>
</project>

0 comments on commit eb791da

Please sign in to comment.